PSPDFKnobView

@protocol PSPDFKnobView <NSObject>

Required methods for views that represent resizable view knobs.

  • The knob type. Use to display inner and outer knobs differently. Redraw if this property changes.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) PSPDFKnobType type;

    Swift

    var type: PSPDFKnobType { get set }
  • The preferred knob size at zoom level 1. The frame will be adjusted when zooming, based on this size.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CGSize knobSize;

    Swift

    var knobSize: CGSize { get }