Appends an array of new line segments to a mutable graphics path.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The mutable path to change.
A pointer to an affine transformation matrix, or
NULLif no transformation is needed. If specified, Core Graphics applies the transformation to the lines before adding them to the path.
An array of points that specifies the line segments to add.
The number of elements in the array.
This is a convenience function that adds a sequence of connected line segments to a path. This function is equivalent to calling the
CGPath function to move to the starting point of the first line segment, then repeatedly calling the
CGPath to append the sequence of line segments.