setWidth()
Set the circle's diameter.
circle.setWidth(width)
Sets both the width and the height, keeping the circle round.
Parameters
circle.setWidth(width)
| Parameter | Type | Default | Description |
|---|---|---|---|
width |
int or float |
required | The new diameter, in pixels. |