PTPencilDrawingCreateDelegate
@protocol PTPencilDrawingCreateDelegate <NSObject>
Informs the delegate object of changes in the originator’s state.
-
Called when a user adds a new stroke by touching the screen.
Declaration
Objective-C
- (void)strokeAdded:(nonnull PTPencilDrawingCreate *)pencilDrawingCreate;
Swift
optional func strokeAdded(_ pencilDrawingCreate: PTPencilDrawingCreate)
Parameters
pencilDrawingCreate
the instance of the object calling the method
-
Called when a user adds a new stroke by touching the screen.
Declaration
Objective-C
- (void)pencilDrawingCreateStrokeAdded: (nonnull PTPencilDrawingCreate *)pencilDrawingCreate;
Swift
optional func pencilDrawingCreateStrokeAdded(_ pencilDrawingCreate: PTPencilDrawingCreate)
Parameters
pencilDrawingCreate
the instance of the object calling the method