PSPDFKnobType

Objective-C

NS_CLOSED_ENUM(NSUInteger, PSPDFKnobType) {
    /// Used to resize the annotation.
    PSPDFKnobTypeOuter,
    /// Used to adjust the `points` of supported annotations, such as the start and end points of a `PSPDFLineAnnotation`.
    PSPDFKnobTypeInner,
    /// Used to rotate the annotation.
    PSPDFKnobTypeRotation,
}

Swift

@frozen enum KnobType : UInt, @unchecked Sendable

Undocumented

  • Used to resize the annotation.

    Declaration

    Objective-C

    PSPDFKnobTypeOuter

    Swift

    case outer = 0
  • Used to adjust the points of supported annotations, such as the start and end points of a PSPDFLineAnnotation.

    Declaration

    Objective-C

    PSPDFKnobTypeInner

    Swift

    case inner = 1
  • Used to rotate the annotation.

    Declaration

    Objective-C

    PSPDFKnobTypeRotation

    Swift

    case rotation = 2