Draws a line to the given point.
void lineTo(double x, double y) { _currentPoint = Point(x, y); _points.add(_currentPoint!); }