Enum LinearGradientMode

LinearGradientMode enumeration

Specifies the direction of a linear gradient.

public enum LinearGradientMode

Values

NameValueDescription
Horizontal0Specifies a gradient from left to right.
Vertical1Specifies a gradient from top to bottom.
ForwardDiagonal2Specifies a gradient from upper left to lower right.
BackwardDiagonal3Specifies a gradient from upper right to lower left.

See Also