Vcl.Imaging.GIFImg.TGIFColorMap.Data
Delphi
property Data: TColorMap read FColorMap;
C++
__property TColorMap Data = {read=FColorMap};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFColorMap |
Description
Specifies the color map stored by the TGIFColorMap object.
Use the Data property to change or obtain the colors in the color map stored by the TGIFColorMap object.
Data is an array of elements of type TGIFColor. The number of elements of Data is specified by the Count property.
The colors in the color map stored by the TGIFColorMap object can also be accessed by indexing the Colors property. The elements of Colors, however, are of type TColor, which is specific to the Windows operating system.
To convert from an element of the Data array to its corresponding element in the Colors array, and contrariwise, use the RGB2Color and Color2RGB methods.