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+Beta
- 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.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software