setSize()
Set the circle's size.
circle.setSize(width, height)
A circle's width and height are always the same; if they differ, the width is used for both.
Parameters
circle.setSize(width, height)
| Parameter | Type | Default | Description |
|---|---|---|---|
width |
int or float |
required | The new diameter, in pixels. |
height |
int or float |
required | The new diameter, in pixels (should match the width). |