lineTo method

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

Adds a straight line segment from the current point to the given point.

Implementation

void lineTo(double x, double y) {
  _path.lineTo(x, y);
  _points.add(Pointinfo(false, x, y));
  _dashedPaths.clear();
}