This method adds a line segment to the path, starting at the current point and ending at point (x, y). The current point moves to the end.
See theĀ ClosePath method for examples.