Share via


CompositionMappingMode Enum

Definition

Defines constants that specify whether the gradient brush's positioning coordinates (StartPoint, EndPoint) are absolute or relative to the output area.

public enum class CompositionMappingMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
enum class CompositionMappingMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class CompositionMappingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
public enum CompositionMappingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum CompositionMappingMode
var value = Microsoft.UI.Composition.CompositionMappingMode.absolute
Public Enum CompositionMappingMode
Inheritance
CompositionMappingMode
Attributes

Fields

Name Value Description
Absolute 0

Positioning coordinates (StartPoint, EndPoint) are absolute.

Relative 1

Positioning coordinates (StartPoint, EndPoint) are relative to the output area.

Applies to