PSPDFColorButtonShape

Objective-C

enum PSPDFColorButtonShape : NSInteger {}

Swift

enum Shape : Int, @unchecked Sendable

The shape of color button.

  • The color button will be a rounded rectangle.

    Declaration

    Objective-C

    PSPDFColorButtonShapeRoundedRect = 0

    Swift

    case roundedRect = 0
  • The color button will be an ellipse drawn within the frame.

    Declaration

    Objective-C

    PSPDFColorButtonShapeEllipse

    Swift

    case ellipse = 1