CanvasViewDelegate
@available(iOS 9.0, *)
public protocol CanvasViewDelegate : AnyObject
The CanvasViewDelegate
protocol defines methods that allow you to react to changes of the canvas view.
-
Tells the delegate that the canvas view added a path model.
Declaration
Swift
func canvasView(_ canvasView: CanvasView, didAddPathModel pathModel: PathModel)
Parameters
canvasView
The canvas view that added the path model.
pathModel
The path model that was added.