Vcl.Graphics.AllocPatternBitmap
Delphi
function AllocPatternBitmap(BkColor, FgColor: TColor): TBitmap;
C++
extern DELPHI_PACKAGE TBitmap* __fastcall AllocPatternBitmap(System::Uitypes::TColor BkColor, System::Uitypes::TColor FgColor);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Beschreibung
Erzeugt ein TBitmap mit einem Muster.
AllocPatternBitmap gibt eine Referenz auf ein 8x8-Pixel großes TBitmap zurück, das mit einem Muster gefüllt ist. Pixel haben abwechselnd die Farbe BkColor und FgColor, so dass eine Art Steppmuster entsteht.