Class

PKTool

An abstract base class for tools used by a canvas view.

Declaration

@interface PKTool : NSObject

Overview

A PKTool object is an abstract base class for tool types associated with a PKCanvasView. 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.

Relationships

Inherits From

Conforms To

See Also

Tools

PKToolPicker

An object that displays a selection of drawing tools and colors from which to select in the current window.

PKInkingTool

An object that defines the drawing characteristics (width, color, pen style) to use when drawing lines on a canvas view.

PKEraserTool

A tool for erasing previously drawn content in a canvas view.

PKLassoTool

A tool for selecting stroked lines in a canvas view.