GetColorIndex Statement:
Get color handle
colorIndex = Object.GetColorIndex
|
Returns: colorIndex has integer type. Possible values: [0-255]
|
Sample: colorIndex = object.GetColorIndex
This method returns currently selected color index. You can set color index
with SetColorIndex index.
See also
SetColor,
GetColor,
GetColorAlpha, GetColorRed,
GetColorBlue,
GetColorGreen, GetPixelRed,
GetPixelAlpha,
GetPixelBlue, GetPixelGreen,
SetColorIndex,
GetColorIndex
More samples:
|