Contents

UIGraphicsImageRendererContext

The drawing environment for an image renderer.

Declaration

class UIGraphicsImageRendererContext

Overview

When using the UIGraphicsImageRenderer drawing methods, you must pass a block of type UIGraphicsImageRenderer.DrawingActions as an argument, which provides a UIGraphicsImageRendererContext 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 UIGraphicsImageRendererContext object in combination with an image renderer, see Creating a graphics image renderer.

Topics

Getting the image

Getting the image drawing actions

See Also

Graphics contexts