Skip to content

Graphics.lineTo method

Graphics › lineTo

Unofficial

Draws a line to a point.

Signature:

lineTo(x: number, y: number): this

Parameters:

Parameter Type Description
x number X coordinate.
y number Y coordinate.

Returns: thisThis graphics for chaining.