setRed()
Set the red component of the color.
color.setRed(red)
Parameters
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.
color.setRed(red)
color.setRed(red)
| Parameter | Type | Default | Description |
|---|---|---|---|
red |
int |
required | The new red component, from 0 to 255. |