Appends a straight line to the receiver’s path
- macOS 10.0+
The destination point of the line segment, specified in the current coordinate system.
This method creates a straight line segment starting at the current point and ending at the point specified by the
a parameter. The current point is the last point in the receiver’s most recently added segment.
You must set the path's current point (using the
move method or through the creation of a preceding line or curve segment) before you invoke this method. If the path is empty, this method raises an