|
||
Antiquated |
static SS_RGB FromColorIndex(int color_index);
int color_index; // An integer value
|
|
||
Synopsis |
using SilverSharp;
The FromColorIndex method creates a SilverSharp.SS_RGB object from a color index value.
|
|
||
Parameters |
color_index is an index into the standard SilverScreen palette
|
|
||
Return Value |
FromColorIndex returns a SilverSharp.SS_RGB object
|
|
||
Remarks |
Palette indexes are sometimes used as parameters to legacy API routines.
|
|
||
See Also |
|
|
||
Example |
The following code shows how to create a SilverSharp.SS_RGB object from a standard color index:
|
|