Returns a new image created by cropping to a specified area, then making the pixel colors along the edges of the cropped image extend infinitely in all directions.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- Core Image
The rectangle, in image coordinates, to which to crop the image.
An image object representing the result of the clamp operation.
Calling this method is equivalent to cropping the image (with the
image method or the CICrop filter), then using the
image method (or the CIAffineClamp filter), which creates an image of infinite extent by repeating pixel colors from the edges of the cropped image.