setWidth()
Set the object's width.
line.setWidth(width)
Parameters
line.setWidth(width)
| Parameter | Type | Default | Description |
|---|---|---|---|
width |
int or float |
required | The new width, in pixels. |
Set the object's width.
line.setWidth(width)
line.setWidth(width)
| Parameter | Type | Default | Description |
|---|---|---|---|
width |
int or float |
required | The new width, in pixels. |