Type Alias

UIGraphicsDrawingActions

Declaration

typealias UIGraphicsDrawingActions = (UIGraphicsRendererContext) -> Void

Discussion

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.

See Also

Running the Drawing Actions