System.Drawing.Drawing2D.LinearGradientMode Enumeration

Specifies the direction of a linear gradient.

Syntax

public enum LinearGradientMode

Remarks

Documentation for this section has not yet been entered.

Members

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.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0