Contents

UIGraphicsRendererContext

The base class for the drawing environments for graphics renderers.

Declaration

class UIGraphicsRendererContext

Overview

You don’t create instances of UIGraphicsRendererContext yourself. Instead, when you use a concrete subclass of UIGraphicsRenderer, you are provided an instance of the appropriate UIGraphicsRendererContext subclass—either UIGraphicsImageRendererContext or UIGraphicsPDFRendererContext—as an argument to a UIGraphicsDrawingActions drawing actions block.

UIGraphicsRendererContext objects provide high-level drawing methods in addition to access to the underlying Core Graphics context.

Topics

Getting the drawing context

Drawing content

Applying a clipping rectangle

See Also

Graphics contexts