SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- UIKit
Declaration
typealias UIGraphicsDrawingActions = (UIGraphics Renderer Context) -> Void
Discussion
UIGraphics
defines a block type that takes a UIGraphics
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 UIGraphics
. Your block should use the provided renderer context to perform the drawing operations you want the renderer to execute.