Skip to content

Graphics.lineTo method

Graphics › lineTo

Unofficial

Draws a line to a point.

Signature:

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

Parameters:

ParameterTypeDescription
xnumberX coordinate.
ynumberY coordinate.

Returns: thisThis graphics for chaining.