System::Drawing::Drawing2D::LinearGradientMode enum

LinearGradientMode enum

Represents a linear gradient direction.

enum class LinearGradientMode

Values

NameValueDescription
Horizontal0Left-to-right.
Vertical1Bottom-to-top.
ForwardDiagonal2From upper-left corner to bottom-right corner.
BackwardDiagonal3From upper-right corner to bottom-left corner.

See Also