moveTo method

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

Implementation

@override
void moveTo(double x, double y) {
  if (!_needsTransform) {
    super.moveTo(x, y);
    return;
  }
  var v = _transform * Vec2D.fromValues(x, y);
  super.moveTo(v.x, v.y);
}