Contents

renderer

The drawing callback that you use to draw into the canvas.

Declaration

var renderer: (inout GraphicsContext, CGSize) -> Void

Parameters

  • context:

    The graphics context to draw into.

  • size:

    The current size of the view.

See Also

Rendering