lineTo(x, y) → {PIXI.Graphics}
Draws a line using the current line style from the current drawing position to (x, y);
The current drawing position is then set to (x, y).
Parameters
Name | Type | Description |
---|---|---|
x | Number | the X coordinate to draw to |
y | Number | the Y coordinate to draw to |
Returns
- Source code: pixi/primitives/Graphics.js (Line 198)
Please login to continue.