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

渐变已包装。

适用于