| Specifies a color to be used for a Style.
It can be set as red-green-blue values or with ColorName.
int |
$red
@public
| red value
|
int |
$green
@public
| green value
|
int |
$blue
@public
| blue value
|
ZWT.ColorName |
$colorName
@public
| name of the color
| |
|
NEW(colorName) @public | Create a Color with color name _colorName.
|
|
NEW(r, g, b) @public | Create a Color with Red, Green and Blue values.
|
|
$setRed(red) @public | Set the red value to red.
|
|
$setGreen(green) @public | Set the green value to green.
|
|
$setBlue(blue) @public | Set the blue value to blue.
|
|
$ToString()
string @public | Return "Color(r, g, b)" or "Color(name)"
| |
|