Sets the clipping path to the intersection of the current clipping path with the area defined by the specified rectangle.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The location and dimensions of the rectangle, in user space, to be used in determining the new clipping path.
This function sets the specified graphics context’s clipping region to the area which intersects both the current clipping path and the specified rectangle.
After determining the new clipping path, the function resets the context’s current path to an empty path.