CompositionColorSpace Enum

Definition

Specifies the color space for interpolating color values in ColorKeyFrameAnimation.

Equivalent WinUI enum: CompositionColorSpace.

public enum class CompositionColorSpace
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum CompositionColorSpace
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum CompositionColorSpace
Public Enum CompositionColorSpace
Inheritance
CompositionColorSpace
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Fields

Auto 0

Use the default color space for interpolation.

Hsl 1

Use the HSL color space for interpolation.

HslLinear 3

Use the linear HSL color space for interpolation.

Rgb 2

Use the ARGB color space for interpolation.

RgbLinear 4

Use the linear ARGB color space for interpolation.

Remarks

Version history

Windows version SDK version Value added
1709 16299 HslLinear
1709 16299 RgbLinear

Applies to