moveTo method

Graphics moveTo(
  1. double x,
  2. double y
)

Moves the current drawing position to the specified x and y coordinates.

The method returns this, which allows for method chaining.

Implementation

Graphics moveTo(double x, double y) {
  _path!.moveTo(x, y);
  return this;
}