CompositionMappingMode CompositionMappingMode CompositionMappingMode CompositionMappingMode Enum


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
enum class winrt::Windows::UI::Composition::CompositionMappingMode : int32_t
public enum CompositionMappingMode
Public Enum CompositionMappingMode

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)


Absolute Absolute Absolute Absolute 0

Positioning coordinates (StartPoint, EndPoint) are absolute.

Relative Relative Relative Relative 1

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