Pen::setPosition()
Moves the pen, drawing a line from where it was if it is down.
Examples
Syntax
Java
.setPosition(x, y)
.setPosition(position)
Parameters
| Name | Data Type | Description |
|---|---|---|
| x | double | world x |
| y | double | world y |
| position | Vector2 | world position |
Return
void