ImageEn, unit iexBitmaps

TIEBitmap.Fill

TIEBitmap.Fill


Declaration

procedure Fill(Value: double); overload;
procedure Fill(Value: TRGBA); overload;


Description

Fill the image with a specified color.
Pixel Format Value
ie1g Specify either 0 or 1
ie8g, ie8p Specify value between 0 and 255
ie16g Specify value between 0 and 65535
ie24RGB, ie32RGB, ie48RGB, ieCMYK, ieCIELab Specify TColor


Example

// Fill an image with white
IEBitmap.Fill( clWhite );

// Fill a monochrome image with white
IEBitmap.Fill( 1.0 );


See Also

FillRect
GradientFill
GradientFillRect
AlphaFill
AlphaFillRect