lineTo method

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

Implementation

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