Color
Structure that represents a color
Operations
New
RGB Color with alpha set to 255
New(r:Int, g:Int, b:Int)Parameters
| Name | Type | Description |
|---|---|---|
| r | Int | red |
| g | Int | green |
| b | Int | blue |
New
RGBA color
New(r:Int, g:Int, b:Int, a:Int)Parameters
| Name | Type | Description |
|---|---|---|
| r | Int | red |
| g | Int | green |
| b | Int | blue |
| a | Int | alpha |
ToString
String RGBA representation
method : public : ToString() ~ StringReturn
| Type | Description |
|---|---|
| String | string representation |