SKHighContrastConfig Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
High contrast configuration settings for use with CreateHighContrast(SKHighContrastConfig).
public struct SKHighContrastConfig
public struct SKHighContrastConfig : IEquatable<SkiaSharp.SKHighContrastConfig>
- Inheritance
-
SKHighContrastConfig
- Implements
Constructors
SKHighContrastConfig(Boolean, SKHighContrastConfigInvertStyle, Single) |
Creates a new instance of SKHighContrastConfig. |
Fields
Default |
Gets a new instance with the values set to the defaults. |
Properties
Contrast |
Gets or sets the amount to adjust the contrast by, in the range -1.0 through 1.0.. |
Grayscale |
Gets or sets a value indicating whether the color will be converted to grayscale. |
InvertStyle |
Gets or sets a value indicating whether to invert brightness, lightness, or neither. |
IsValid |
Gets a value indicating if the configuration is valid. |
Methods
Equals(Object) | |
Equals(SKHighContrastConfig) | |
GetHashCode() |
Operators
Equality(SKHighContrastConfig, SKHighContrastConfig) | |
Inequality(SKHighContrastConfig, SKHighContrastConfig) |