PSPDFDefaultAnnotationStyleManager


@interface PSPDFDefaultAnnotationStyleManager
    : NSObject <PSPDFAnnotationStyleManager>

The default implementation for the style manager.

  • Sets the styles to default values.

    Declaration

    Objective-C

    - (void)setupDefaultStyles;

    Swift

    func setupDefaultStyles()
  • The default color presets for the given key.

    Declaration

    Objective-C

    - (nonnull NSArray<PSPDFColorPreset *> *)defaultColorPresetsForKey:
        (nonnull NSString *)key;

    Swift

    func defaultColorPresets(forKey key: String) -> [PSPDFColorPreset]
  • The default border presets for the given key.

    Declaration

    Objective-C

    - (nonnull NSArray<PSPDFBorderStylePreset *> *)defaultBorderPresetsForKey:
        (nonnull NSString *)key;

    Swift

    func defaultBorderPresets(forKey key: String) -> [PSPDFBorderStylePreset]
  • Default yellow color used for the highlighter tool.

    Declaration

    Objective-C

    + (nonnull UIColor *)highlightYellow;

    Swift

    class func highlightYellow() -> UIColor
  • Default drawing color.

    Declaration

    Objective-C

    + (nonnull UIColor *)drawingBlue;

    Swift

    class func drawingBlue() -> UIColor