GIFImg.TGIFColorMap.Colors
From RAD Studio VCL Reference
Delphi Information
From GIFImg.pas
property Colors: TColor read GetColor write SetColor;
Unit: GIFImg
Type: property
Visibility: public
Member Of: TGIFColorMap
Description
Specifies the Windows color map stored by the TGIFColorMap object.
Use the Colors property to change or obtain the colors in the Windows color map stored by the TGIFColorMap object.
Colors is an array of elements of type TColor. The number of elements of Colors is specified by Count.
The colors in the color map stored by the TGIFColorMap object can also be accessed by indexing the Data property. The elements of Data are of TGIFColortype, which is not platform specific.
To convert from an element of the Colors array to its corresponding element in the Data array, and contrariwise, use the Color2RGB and RGB2Color methods.