Returns a new image created by setting all alpha values to 1.0 within the specified rectangle and to 0.0 outside of that area.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
The rectangular area in the image to be set to full opacity.
An image object representing the result of the operation.
Creating an Image by Modifying an Existing Image
Returns a new image created by making the pixel colors along its edges extend infinitely in all directions.
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.