UIGraphicsDrawingActions
A closure that executes a set of drawing instructions that the renderer applies to the Core Graphics context.
Declaration
typealias UIGraphicsDrawingActions = (UIGraphicsRendererContext) -> VoidDiscussion
UIGraphicsDrawingActions defines a block type that takes a UIGraphicsRendererContext object as an argument and has no return value.
You provide a block of this type as an argument to the graphics drawing methods on UIGraphicsRenderer. Your block should use the provided renderer context to perform the drawing operations you want the renderer to execute.