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