[Overview][Constants][Types][Classes][Index] |
Gets the palette index value of the color.
Source position: colord.inc line 45
property IPTCColor.Index: Integer |
Gets the palette index value of the color.
The palette index is only valid if the color is indexed. A color object is an indexed color if it was created by the TPTCColorFactory.CreateNew(AIndex: Integer) constructor. If the color object is not indexed color then the index value is always zero.