Adds a straight line segment from the current point to the given point.
void lineTo(double x, double y) { _path.lineTo(x, y); _points.add(Pointinfo(false, x, y)); _dashedPaths.clear(); }