setColor()
Set the display's background color.
Parameters
Once an object display has been created, you can use the following functions:
display.setColor()
display.setColor(color)
| Parameter | Type | Default | Description |
|---|---|---|---|
color |
Color |
None |
The new background color, for example Color.RED. If omitted, a color-selection dialog opens. |