PSPDFDefaultAnnotationStyleManager
Objective-C
@interface PSPDFDefaultAnnotationStyleManager
: NSObject <PSPDFAnnotationStyleManager>
Swift
class PDFDefaultAnnotationStyleManager : NSObject, AnnotationStyleManager
The default implementation for the style manager.
-
Sets the styles to default values.
-
The default color presets for the given key.
Declaration
Objective-C
- (nonnull NSArray<PSPDFColorPreset *> *)defaultColorPresetsForKey: (nonnull PSPDFAnnotationStateVariantID)key;
Swift
func defaultColorPresets(forKey key: Annotation.ToolVariantID) -> [PSPDFColorPreset]
-
The default border presets for the given key.
Declaration
Objective-C
- (nonnull NSArray<PSPDFBorderStylePreset *> *)defaultBorderPresetsForKey: (nonnull PSPDFAnnotationStateVariantID)key;
Swift
func defaultBorderPresets(forKey key: Annotation.ToolVariantID) -> [PSPDFBorderStylePreset]
-
Default yellow color used for the highlighter tool.
Declaration
Objective-C
+ (nonnull NSColor *)highlightYellow;
Swift
class func highlightYellow() -> NSColor
-
Default blue drawing color.
Declaration
Objective-C
+ (nonnull NSColor *)drawingBlue;
Swift
class func drawingBlue() -> NSColor