CompositionMappingMode 枚举

定义

定义常量,指定渐变画笔的定位坐标 (StartPoint、EndPoint) 是绝对坐标还是相对于输出区域。

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
继承
CompositionMappingMode
属性

字段

Absolute 0

(StartPoint、EndPoint) 定位坐标是绝对的。

Relative 1

(StartPoint、EndPoint) 定位坐标相对于输出区域。

适用于