Share via


CompositionGradientExtendMode Enum

Definition

Defines constants that specify how to draw the gradient outside the brush's gradient vector or space.

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
Inheritance
CompositionGradientExtendMode
Attributes

Fields

Name Value Description
Clamp 0

The gradient is not extended.

Wrap 1

The gradient is wrapped.

Mirror 2

The gradient is repeated in the reverse direction..

Applies to