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