ImageEn, unit iexColorPalette |
|
TIEColorPalette.AppendGradientPalette
Declaration
procedure AppendGradientPalette(Color1, Color2: TColor; ColorCount: Integer = 256);
Description
Append a set of colors gradiated from Color1 to Color2.
Note: Colors are appended, so use
Clear if you wish to replace the existing colors.
// Display a range of colors from blue to red
ColorPalette1.Clear();
ColorPalette1.AppendGradientPalette( clBlue, clRed, 100 );
See Also
◼GenerateGradientPalette
◼AppendColorLuminancePalette
◼AppendHuePalette