Udostępnij za pośrednictwem


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(Windows.Foundation.UniversalApiContract, 327680)]
enum class CompositionGradientExtendMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum CompositionGradientExtendMode
Public Enum CompositionGradientExtendMode
Inheritance
CompositionGradientExtendMode
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

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