PTAnnotBarButton

enum PTAnnotBarButton : NSInteger {}

Represents available annotation toolbar items, to be used to set a custom PTAnnotationToolbar.precedenceArray.

  • The sticky note button.

    Declaration

    Objective-C

    PTAnnotBarButtonStickynote

    Swift

    case stickynote = 0
  • The text highlight button.

    Declaration

    Objective-C

    PTAnnotBarButtonHighlight

    Swift

    case highlight = 1
  • The text strikeout button.

    Declaration

    Objective-C

    PTAnnotBarButtonStrikeout

    Swift

    case strikeout = 2
  • The text underline button.

    Declaration

    Objective-C

    PTAnnotBarButtonUnderline

    Swift

    case underline = 3
  • The squiggly text underline button.

    Declaration

    Objective-C

    PTAnnotBarButtonSquiggly

    Swift

    case squiggly = 4
  • The signature button.

    Declaration

    Objective-C

    PTAnnotBarButtonSignature

    Swift

    case signature = 5
  • The freehand (ink) button.

    Declaration

    Objective-C

    PTAnnotBarButtonFreehand

    Swift

    case freehand = 6
  • The eraser button.

    Declaration

    Objective-C

    PTAnnotBarButtonEraser

    Swift

    case eraser = 7
  • The freetext button.

    Declaration

    Objective-C

    PTAnnotBarButtonFreetext

    Swift

    case freetext = 8
  • The arrow button.

    Declaration

    Objective-C

    PTAnnotBarButtonArrow

    Swift

    case arrow = 9
  • The line button.

    Declaration

    Objective-C

    PTAnnotBarButtonLine

    Swift

    case line = 10
  • The rectangle button.

    Declaration

    Objective-C

    PTAnnotBarButtonRectangle

    Swift

    case rectangle = 11
  • The ellipse button.

    Declaration

    Objective-C

    PTAnnotBarButtonEllipse

    Swift

    case ellipse = 12
  • The polygon button.

    Declaration

    Objective-C

    PTAnnotBarButtonPolygon

    Swift

    case polygon = 13
  • The cloudy button.

    Declaration

    Objective-C

    PTAnnotBarButtonCloud

    Swift

    case cloud = 14
  • The polyline button.

    Declaration

    Objective-C

    PTAnnotBarButtonPolyline

    Swift

    case polyline = 15
  • The ruler button.

    Declaration

    Objective-C

    PTAnnotBarButtonRuler

    Swift

    case ruler = 16
  • The perimeter button.

    Declaration

    Objective-C

    PTAnnotBarButtonPerimeter

    Swift

    case perimeter = 17
  • The area button.

    Declaration

    Objective-C

    PTAnnotBarButtonArea

    Swift

    case area = 18
  • The freehand highlight button.

    Declaration

    Objective-C

    PTAnnotBarButtonFreehandHighlight

    Swift

    case freehandHighlight = 19
  • The free text callout button.

    Declaration

    Objective-C

    PTAnnotBarButtonCallout

    Swift

    case callout = 20
  • The text field button

    Declaration

    Objective-C

    PTAnnotBarButtonTextField

    Swift

    case textField = 21
  • The pan button.

    Declaration

    Objective-C

    PTAnnotBarButtonPan

    Swift

    case pan = 22
  • The close button.

    Declaration

    Objective-C

    PTAnnotBarButtonClose

    Swift

    case close = 23