ImageEn, unit iexColorPalette

GenerateGradientPalette


Declaration

function GenerateGradientPalette(Color1, Color2: TColor; ColorCount: Integer = 256): TIEArrayOfTRGB;


Description

Returns an array of colors gradiated from Color1 to Color2.


Example

// Return a range of colors from blue to red
aArray := GenerateGradientPalette( clBlue, clRed, 100 );


See Also

GenerateColorLuminancePalette
GenerateDicomColorPalette
AssignPalette