Contents

drawingTool

The tool for drawing on the canvas.

Declaration

@MainActor @preconcurrency var drawingTool: any PKTool { get set }

Discussion

When a touch is a drawing interaction, the canvas uses this tool to draw.

Default is PKInkingTool(.pen).

See Also

Editing markup