setRed()
Set the red component of the color.
Parameters
Once an object color has been created, you can use the following function:
color.setRed(red)
| Parameter | Type | Default | Description |
|---|---|---|---|
red |
int |
required | The new red component, from 0 to 255. |
Set the red component of the color.
Once an object color has been created, you can use the following function:
color.setRed(red)
| Parameter | Type | Default | Description |
|---|---|---|---|
red |
int |
required | The new red component, from 0 to 255. |