편집

다음을 통해 공유


SKHighContrastConfig Struct

Definition

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