UIGraphicsRendererContext
The base class for the drawing environments for graphics renderers.
Declaration
class UIGraphicsRendererContextOverview
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.