The drawing environment associated with an image renderer.
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
When using the
UIGraphics drawing methods, you must pass a block of type
UIGraphics as an argument, which provides a
UIGraphics instance as an argument. Use the context object to access high-level drawing functions and the underlying Core Graphics context.
To learn how to use a
UIGraphics object in combination with an image renderer, see Creating a Graphics Image Renderer.