moveTo method

  1. @override
void moveTo(
  1. double x,
  2. double y
)
override

Implementation

@override
void moveTo(double x, double y) {
  if (!_expectsMove) {
    close();
  }
  _firstX = _prevX = x - _offsetX;
  _firstY = _prevY = y - _offsetY;
  _expectsMove = false;
}