PSPDFKnobView
Objective-C
@protocol PSPDFKnobView <NSObject>
Swift
protocol KnobView : NSObjectProtocol
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 (nonatomic) PSPDFKnobType type;
Swift
var type: KnobType { 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 (nonatomic, readonly) CGSize knobSize;
Swift
var knobSize: CGSize { get }