共用方式為


CompositionGradientExtendMode 列舉

定義

定義常數,指定如何在筆刷的漸層向量或空間之外繪製漸層。

public enum class CompositionGradientExtendMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
enum class CompositionGradientExtendMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class CompositionGradientExtendMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
public enum CompositionGradientExtendMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum CompositionGradientExtendMode
var value = Microsoft.UI.Composition.CompositionGradientExtendMode.clamp
Public Enum CompositionGradientExtendMode
繼承
CompositionGradientExtendMode
屬性

欄位

Clamp 0

漸層不會延伸。

Mirror 2

漸層會以反向方向重複。

Wrap 1

漸層已包裝。

適用於