moveTo method

void moveTo(
  1. num x,
  2. num y
)

The CanvasRenderingContext2D.moveTo() method of the Canvas 2D API begins a new sub-path at the point specified by the given (x, y) coordinates.

Implementation

external void moveTo(
  num x,
  num y,
);