PSPDFLineEndType

Objective-C

enum PSPDFLineEndType : NSInteger {}

Swift

@frozen enum EndType : Int, @unchecked Sendable

The possible types of start- and end-point for line annotations.

  • No special end point. The line just stops here.

    Declaration

    Objective-C

    PSPDFLineEndTypeNone

    Swift

    case none = 0
  • A small square is drawn centered at this end point of the line, such that the line is parallel to two sides.

    Declaration

    Objective-C

    PSPDFLineEndTypeSquare

    Swift

    case square = 1
  • A small circle is drawn centered at this end point of the line.

    Declaration

    Objective-C

    PSPDFLineEndTypeCircle

    Swift

    case circle = 2
  • A small square is drawn centered at this end point of the line, such that no side is parallel to the line.

    Declaration

    Objective-C

    PSPDFLineEndTypeDiamond

    Swift

    case diamond = 3
  • The line ends in an arrow-head like this one: →

    Declaration

    Objective-C

    PSPDFLineEndTypeOpenArrow

    Swift

    case openArrow = 4
  • The line ends in an arrow-head like this one: ➞

    Declaration

    Objective-C

    PSPDFLineEndTypeClosedArrow

    Swift

    case closedArrow = 5
  • The line ends in an arrow-head like this one: ➞

    Declaration

    Objective-C

    PSPDFLineEndTypeButt

    Swift

    case butt = 6
  • Same as open arrow, but facing towards the other end of the line

    Declaration

    Objective-C

    PSPDFLineEndTypeReverseOpenArrow

    Swift

    case reverseOpenArrow = 7
  • Same as closed arrow, but facing towards the other end of the line

    Declaration

    Objective-C

    PSPDFLineEndTypeReverseClosedArrow

    Swift

    case reverseClosedArrow = 8
  • Same as closed arrow, but facing towards the other end of the line

    Declaration

    Objective-C

    PSPDFLineEndTypeSlash

    Swift

    case slash = 9