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) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈