PSPDFColorButton


@interface PSPDFColorButton : PSPDFButton

Button that shows a selected color. Highlightable.

  • Current color.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIColor *_Nonnull color;

    Swift

    var color: NSColor { get set }
  • Drawing mode.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL displayAsEllipse;

    Swift

    var displayAsEllipse: Bool { get set }
  • Border width. Defaults to 3.0

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat borderWidth;

    Swift

    var borderWidth: CGFloat { get set }
  • Indicator size. Defaults to the bounds size

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGSize indicatorSize;

    Swift

    var indicatorSize: CGSize { get set }