Sets the clipping path to the intersection of the current clipping path with the region defined by an array of rectangles.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The graphics context for which to set the clipping path.
An array of rectangles. The locations and dimensions of the rectangles are specified in the user space coordinate system.
The total number of array entries in the
This function sets the clipping path to the intersection of the current clipping path and the region within the specified rectangles.
After determining the new clipping path, the function resets the context’s current path to an empty path.