selectedDrawingTool
The currently selected drawing tool.
Declaration
@MainActor @preconcurrency var selectedDrawingTool: any PKTool { get set }Discussion
Default is PKInkingTool(.monoline). Setting this property to a color-bearing tool while activeInkColor is non-nil overrides the new tool’s color with the cached value, preserving the user’s most-recent color pick across programmatic tool changes.