Protocol

PKCanvasViewDelegate

Methods you use to track editing-related changes in a canvas view.

Declaration

@protocol PKCanvasViewDelegate

Overview

Implement the methods of the PKCanvasViewDelegate protocol to monitor drawing-related events happening in a PKCanvasView object. Specifically, determine the start and end-of-event sequences using the currently selected tool, and determine when those events affect the drawn content.

Topics

Responding to Drawing-Related Changes

- canvasViewDrawingDidChange:

Tells the delegate that the contents of the current drawing changed.

- canvasViewDidFinishRendering:

Tells the delegate that the previously drawn content is ready to display.

Responding to New Event Sequences

- canvasViewDidBeginUsingTool:

Tells the delegate that the user began a new drawing sequence using the current tool.

- canvasViewDidEndUsingTool:

Tells the delegate that the user ended a drawing sequence involving the current tool.

Relationships

See Also

Responding to Drawing-Related Changes

delegate

The object you use to respond to changes in the drawn content or in the selected tool.