共用方式為


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) 相對於輸出區域。

適用於