ImageEn, unit iexColorPalette

TIEColorPalette.AddColor

TIEColorPalette.AddColor

Declaration

procedure AddColor(Color: TColor); overload;
procedure AddColor(Color: TRGB); overload;

Description

Swap the position of two colors in the component.

Example

// Add a transparent cell
ColorPalette1.AddColor( clTransparent );