Contents

rendererContextClass()

Specifies the drawing context class used by this graphics renderer.

Declaration

class func rendererContextClass() -> AnyClass

Return Value

A subclass of UIGraphicsRendererContext suitable for the current renderer.

Discussion

Each subclass of UIGraphicsRenderer can define its own subclass of UIGraphicsRendererContext. The graphics renderer calls this method whenever it needs to create a new graphics renderer context.

Override this method to specify the context class that the graphics renderer should use.

See Also

Managing graphics contexts