Skip to content

Graphics.moveTo method

Graphics › moveTo

Unofficial

Moves the drawing cursor to a point.

Signature:

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

Parameters:

ParameterTypeDescription
xnumberX coordinate.
ynumberY coordinate.

Returns: thisThis graphics for chaining.