HighContrastConfig
- class HighContrastConfig
Configuration struct for
HighContrastFilter
.Provides transformations to improve contrast for users with low vision.
Classes
Members:
Methods
Overloaded function.
Attributes
Methods
- HighContrastConfig.__init__(*args, **kwargs)
Overloaded function.
__init__(self: skia.HighContrastConfig) -> None
__init__(self: skia.HighContrastConfig, grayscale: bool, invertStyle: skia.HighContrastConfig.InvertStyle, contrast: float) -> None
- HighContrastConfig.isValid(self: skia.HighContrastConfig) bool
Attributes
- HighContrastConfig.fContrast
- HighContrastConfig.fGrayscale
- HighContrastConfig.fInvertStyle
- HighContrastConfig.kInvertBrightness = <InvertStyle.kInvertBrightness: 1>
- HighContrastConfig.kInvertLightness = <InvertStyle.kInvertLightness: 2>
- HighContrastConfig.kLast = <InvertStyle.kInvertLightness: 2>
- HighContrastConfig.kNoInvert = <InvertStyle.kNoInvert: 0>