ImageEn, unit iexBitmaps

TIEBitmap.GradientFill

TIEBitmap.GradientFill


Declaration


procedure GradientFill(StartValue, EndValue: Double; Direction: TIEGradientDir = gdVertical);


Description


Fill the image with a color gradient.
Pixel Format Values
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 a horizontal gradient from red to blue
IEBitmap.GradientFill( clRed, clBlue, gdHorizontal );


See Also


- Fill
- FillRect
- GradientFillRect
- AlphaFill
- AlphaFillRect