LinearGradientMode Enumeration

LinearGradientMode Enumeration

 

Specifies the direction of a linear gradient.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public enum class LinearGradientMode

Member nameDescription
BackwardDiagonal

Specifies a gradient from upper right to lower left.

ForwardDiagonal

Specifies a gradient from upper left to lower right.

Horizontal

Specifies a gradient from left to right.

Vertical

Specifies a gradient from top to bottom.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft