renderer
The drawing callback that you use to draw into the canvas.
Declaration
var renderer: (inout GraphicsContext, CGSize) -> VoidParameters
- context:
The graphics context to draw into.
- size:
The current size of the view.
The drawing callback that you use to draw into the canvas.
var renderer: (inout GraphicsContext, CGSize) -> VoidThe graphics context to draw into.
The current size of the view.