ImageEn, unit iexColorPalette

TIEColorPalette.ExchangeColors

TIEColorPalette.ExchangeColors


Declaration

procedure ExchangeColors(Index1, Index2: Integer);


Description

Swap the position of two colors in the component.


Example

// Swap the second and third color cell
ColorPalette1.ExchangeColors( 1, 2 );