lineTo method
Implementation
@override
void lineTo(double x, double y) {
assert(!_expectsMove);
// ignore: parameter_assignments
x -= _offsetX;
// ignore: parameter_assignments
y -= _offsetY;
_clipLine(_prevX, _prevY, x, y);
_prevX = x;
_prevY = y;
}