Draw a line from the current drawing position to the given position.
Moves the current drawing position to the given position.
name | type | description |
---|---|---|
x | number |
The x coordinate to draw the line to. |
y | number |
The y coordinate to draw the line to. |
This Game Object.