PSPDFRenderFilter
Objective-C
NS_OPTIONS(NSUInteger, PSPDFRenderFilter) {
/// If set, a grayscale filter will be applied.
PSPDFRenderFilterGrayscale = 1 << 0,
/// If set and `invertRenderColor` is `true`, the inverted mode (a.k.a. night mode) will be rendered color correct.
PSPDFRenderFilterColorCorrectInverted = 1 << 1,
/// If set, a sepia filter will be applied.
PSPDFRenderFilterSepia = 1 << 2
}
Swift
struct RenderFilter : OptionSet
Undocumented
-
If set, a grayscale filter will be applied.
Declaration
Objective-C
PSPDFRenderFilterGrayscale = 1 << 0
Swift
static var grayscale: RenderFilter { get }
-
If set and
invertRenderColor
istrue
, the inverted mode (a.k.a. night mode) will be rendered color correct.Declaration
Objective-C
PSPDFRenderFilterColorCorrectInverted = 1 << 1
Swift
static var colorCorrectInverted: RenderFilter { get }
-
If set, a sepia filter will be applied.
Declaration
Objective-C
PSPDFRenderFilterSepia = 1 << 2
Swift
static var sepia: RenderFilter { get }