Appends a straight line segment from the current point to the provided point .
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A graphics context whose current path is not empty.
The x-value, in user space coordinates, for the end of the line segment.
The y-value, in user space coordinates, for the end of the line segment.
After adding the line segment, the current point is set to the endpoint of the line segment.
Adds an arc of a circle to the current path, possibly preceded by a straight line segment
Appends a cubic Bézier curve from the current point, using the provided control points and end point .
Adds a sequence of connected straight-line segments to the current path.
Adds a previously created path object to the current path in a graphics context.
Returns a path object built from the current path information in a graphics context.