UIGraphicsRendererFormat
A set of drawing attributes that represents the configuration of a graphics renderer context.
Declaration
class UIGraphicsRendererFormatOverview
Create a UIGraphicsRendererFormat object, or one of its subclasses (UIGraphicsImageRendererFormat and UIGraphicsPDFRendererFormat), and use it to construct a graphics renderer by providing the format object as a parameter in a UIGraphicsRenderer subclass intializer.
The graphics renderer uses the format object you provided to configure any context objects (UIGraphicsRendererContext) it creates as part of the rendering process.
If you use a graphics renderer initializer that doesn’t require a format argument, the renderer creates a format object using the default() class method.
The renderer format object contains properties that represent the immutable aspects of the renderer’s configuration. This means that repeated uses of a single graphics renderer object will always use the same format object.