PTEraser


@interface PTEraser : PTCreateToolBase

Erases points from FreeHand (ink) annotations.

  • If YES, the eraser will ignore touches that aren’t made with an Apple Pencil and will switch to the tool’s default class.

    Declaration

    Objective-C

    @property (nonatomic) BOOL acceptPencilTouchesOnly;

    Swift

    var acceptPencilTouchesOnly: Bool { get set }
  • Defines how to erase ink annotations. Default is PTInkEraserModePoints

    The value of this property is set via the PTToolManager.eraserMode property.

    Declaration

    Objective-C

    @property (nonatomic, readonly) PTInkEraserMode eraserMode;

    Swift

    var eraserMode: PTInkEraserMode { get }