Vcl.Imaging.GIFImg.TGIFColorMap.Colors
Delphi
property Colors[Index: integer]: TColor read GetColor write SetColor; default;
C++
__property System::Uitypes::TColor Colors[int Index] = {read=GetColor, write=SetColor/*, default*/};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | 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.