PSPDFColorSet
Objective-C
enum PSPDFColorSet : NSUInteger {}
Swift
@frozen enum ColorSet : UInt, @unchecked Sendable
A color set describes a set of different color pickers that provide colors for a certain use case.
Note
The list of color sets may grow, keep this in mind when designing custom color pickers and provide a suitable default (or fall back to PSPDFKit’s built-in color picker in this case).-
The default color set, used for most foreground colors in PSPDFKit.
Declaration
Objective-C
PSPDFColorSetDefault
Swift
case `default` = 0
-
The default color set but including transparent / empty color. Mostly used for background colors through out PSPDFKit.
Declaration
Objective-C
PSPDFColorSetDefaultWithTransparency
Swift
case defaultWithTransparency = 1
-
The color set used when selecting page background colors. Its colors are suitable for full page background colors.
Declaration
Objective-C
PSPDFColorSetPageBackgrounds
Swift
case pageBackgrounds = 2