PSPDFAnnotationBorderStyle

Objective-C

enum PSPDFAnnotationBorderStyle : NSUInteger {}

Swift

@frozen enum BorderStyle : UInt, @unchecked Sendable

Annotation border style types.

  • No border style.

    Declaration

    Objective-C

    PSPDFAnnotationBorderStyleNone

    Swift

    case none = 0
  • Solid border style.

    Declaration

    Objective-C

    PSPDFAnnotationBorderStyleSolid

    Swift

    case solid = 1
  • Dashed border style. Dashed style can be customized using the dash array.

    Declaration

    Objective-C

    PSPDFAnnotationBorderStyleDashed

    Swift

    case dashed = 2
  • Beveled border style. Looks like an “elevated” solid border.

    Declaration

    Objective-C

    PSPDFAnnotationBorderStyleBeveled

    Swift

    case beveled = 3
  • Inset border style. Similar to beveled, but is “elevated” into the opposite direction.

    Declaration

    Objective-C

    PSPDFAnnotationBorderStyleInset

    Swift

    case inset = 4
  • Underline border style.

    Declaration

    Objective-C

    PSPDFAnnotationBorderStyleUnderline

    Swift

    case underline = 5
  • Border style can’t be determined. Will fallback to solid.

    Declaration

    Objective-C

    PSPDFAnnotationBorderStyleUnknown

    Swift

    case unknown = 6