Declarations ​
pascal
procedure Clear; overload; override;
procedure Clear(FillColor: TColor32); reintroduce; overload;Overload Details
Overload 1 ​
pascal
procedure Clear; overload; override;Clears all pixels in the bitmap to clNone32 ($00000000).
Overload 2 ​
pascal
procedure Clear(FillColor: TColor32); reintroduce; overload;Clears all pixels in the bitmap to the specified TColor32 fill color.
| Parameter | Type | Description |
|---|---|---|
FillColor | TColor32 | 32-bit ARGB fill color. |
Description ​
Clear fills the entire pixel buffer with a uniform color value.
Example ​
pascal
Bitmap.Clear(clRed32);