PTFreeHandCreateDelegate

@protocol PTFreeHandCreateDelegate <NSObject>

Informs the delegate object of changes in the originator’s state.

  • Called when a user adds a new stroke by touching the screen (as opposed to a redo action). Typically used to enable an “undo” button.

    Declaration

    Objective-C

    - (void)strokeAdded:(nonnull PTFreeHandCreate *)freeHandCreate;

    Swift

    optional func strokeAdded(_ freeHandCreate: PTFreeHandCreate)

    Parameters

    freeHandCreate

    the instance of the object calling the method

  • Called when a user adds a new stroke by touching the screen (as opposed to a redo action). Typically used to enable an “undo” button.

    Declaration

    Objective-C

    - (void)freeHandCreateStrokeAdded:(nonnull PTFreeHandCreate *)freeHandCreate;

    Swift

    optional func freeHandCreateStrokeAdded(_ freeHandCreate: PTFreeHandCreate)

    Parameters

    freeHandCreate

    the instance of the object calling the method