ColorToString
It converts color value into string of "R,G,B" form.
string ColorToString(
color color_value,
bool color_name
);
|
Parameters
color_value
[in] Color value in color type variable.
color_name
[in] Return color name if it is identical to one of predefined color constants.
Return Value
Example:
string clr=ColorToString(C'0,255,0'); // green color
Print(clr);
clr=ColorToString(C'0,255,0',true); // get color constant
Print(clr);
|
See also
StringToColor, ColorToARGB