Instance Property

format

The format used to create the associated graphics renderer.

Declaration

var format: UIGraphicsRendererFormat { get }

Discussion

If you specified a format object when you initialized the current renderer (UIGraphicsRenderer) object, then this property provides access to that object. Otherwise, a default format object was created for you using the renderer initialization parameters, tuned to the current device.

See Also

Getting the Drawing Context

var cgContext: CGContext

The underlying Core Graphics context.