Class

UIGraphicsImageRendererFormat

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

Declaration

@interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat

Overview

Use an instance of UIGraphicsImageRendererFormat to initialize a UIGraphicsImageRenderer object with nondefault attributes.

The image renderer format object contains properties that determine the attributes of the underlying Core Graphics contexts that the image renderer creates. Use the defaultFormat class method to create an image renderer format instance optimized for the current device.

Topics

Creating the Renderer

+ formatForTraitCollection:

Creates a format best suited for rendering on a device with the specified traits.

Configuring the Renderer Attributes

opaque

A Boolean value indicating whether the underlying Core Graphics context has an alpha channel.

prefersExtendedRange

A Boolean value specifying whether the bitmap context should use extended color.

Deprecated
scale

The display scale of the image renderer context.

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.

UIGraphicsImageRendererContext

The drawing environment associated with an image renderer.

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.