Appends an array of rectangles 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.
An affine transformation matrix, or
NULLif no transformation is needed. If specified, Core Graphics applies the transformation to the rectangles before adding them to the path.
The array of new rectangles to add.
The number of elements in the array.
This is a convenience function that adds an array of rectangles to a path. This function is equivalent to repeatedly calling the
CGPath function to append the sequence of rectangles.