An abstract base class for tools used by a canvas view.
- iOS 13.0+
- Mac Catalyst 13.0+
PKTool object is an abstract base class for tool types associated with a
PKCanvas. Tools are user-facing, and the selected tool determines how the canvas interprets incoming gestures.
Do not create
PKTool objects directly. Instead, create one of its subclasses to obtain the tool behavior you want.