Pen::setPosition()
Set the position if the pen is down.
Syntax
Java
.setPosition(x, y)
.setPosition(v)
Parameters
| Name | Data Type | Description |
|---|---|---|
| x | double | x coordinate |
| y | double | y coordinate |
| v | Vector2 | the Vector2 object containing the new x and y coordinates |
Return
void
