GpLinearGradientMode enumeration

Selects the direction in which the colour of a linear gradient brush changes.

Member Value Description
LinearGradientModeHorizontal 0 The colour changes from left to right.
LinearGradientModeVertical 1 The colour changes from top to bottom.
LinearGradientModeForwardDiagonal 2 The colour changes from the upper left corner to the lower right corner.
LinearGradientModeBackwardDiagonal 3 The colour changes from the upper right corner to the lower left corner.

Used by

See Also