Class

UIGraphicsImageRendererContext

The drawing environment associated with an image renderer.

Declaration

@interface UIGraphicsImageRendererContext : UIGraphicsRendererContext

Overview

When using the UIGraphicsImageRenderer drawing methods, you must pass a block of type UIGraphicsImageDrawingActions 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

currentImage

The current state of the drawing context, expressed as an object that manages image data in your app.

Getting the Image Drawing Actions

Relationships

See Also

Drawing Contexts

UIGraphicsRenderer

An abstract base class for creating graphics renderers.

UIGraphicsRendererContext

The base class for the drawing environments associated with graphics renderers.

UIGraphicsRendererFormat

A set of drawing attributes that represent the configuration of a graphics renderer context.

UIGraphicsImageRenderer

A graphics renderer for creating Core Graphics-backed images.

UIGraphicsImageRendererFormat

A set of drawing attributes that represent the configuration of an image renderer context.

UIGraphicsPDFRenderer

A graphics renderer for creating PDFs.

UIGraphicsPDFDrawingActions

A handler block that you use to draw PDF content.

UIGraphicsPDFRendererContext

A drawing environment associated with a PDF renderer.

UIGraphicsPDFRendererFormat

A set of drawing attributes that represents the configuration of a PDF renderer context.