PTAnnotStyleToolbar
@interface PTAnnotStyleToolbar
: UIToolbar <PTAnnotStyleViewControllerDelegate,
PTDigitalSignatureToolDelegate, PTCountCreateDelegate,
PTOverridable>
The PTAnnotStyleToolbar
class displays a PTAnnotationStylePresetsGroup
for
controlling the selected annotation style preset. The selected annotation style
preset can be edited by tapping on it.
-
Initializes a newly created
PTAnnotStyleToolbar
instance with the specified tool manager.Declaration
Objective-C
- (nonnull instancetype)initWithToolManager: (nonnull PTToolManager *)toolManager;
Swift
init(toolManager: PTToolManager)
Parameters
toolManager
the tool manager to be used by the receiver
Return Value
an initialized
PTAnnotStyleToolbar
instance -
The tool manager used by the toolbar.
Declaration
Objective-C
@property (nonatomic, strong, nullable) PTToolManager *toolManager;
Swift
var toolManager: PTToolManager? { get set }
-
The annotation style presets shown by the toolbar.
Declaration
Objective-C
@property (nonatomic, copy, nullable) PTAnnotationStylePresetsGroup *annotStylePresets;
Swift
@NSCopying var annotStylePresets: PTAnnotationStylePresetsGroup? { get set }
-
The annotation style picker shown by the toolbar when the selected preset is tapped.
Declaration
Objective-C
@property (nonatomic, strong, nullable) PTAnnotStyleViewController *stylePicker;
Swift
var stylePicker: PTAnnotStyleViewController? { get set }