Method GetColor
GetColor(int)
Gets the palette color by index.
public int GetColor(int index)
Parameters
index
intThe palette color index.
Returns
- int
The color palette entry specified by the
index
.
Exceptions
- ArgumentOutOfRangeException
if color palette
index
specified is out of the palette entries range.