Skip to content

GeoLinearGradientDirection

Namespace: ThinkGeo.Core

Specifies the direction of a linear gradient.

public enum GeoLinearGradientDirection

Inheritance ObjectValueTypeEnumGeoLinearGradientDirection
Implements IComparable, IFormattable, IConvertible

Fields

Name Value Description
LeftToRight 0 Specifies the color should change in a horizontal direction from the left of the
display to the right of the display.
RightToLeft 1 Specifies the color should change in a horizontal direction from the right of the
display to the left of the display.
TopToBottom 2 Specifies the color should change in a horizontal direction from the top of the
display to the bottom of the display.
BottomToTop 3 Specifies the color should change in a horizontal direction from the bottom of the
display to the top of the display.
UpperLeftToLowerRight 4 Specifies the color should change in a horizontal direction from the upper left of
the display to the lower right of the display.
LowerRightToUpperLeft 5 Specifies the color should change in a horizontal direction from the lower right of
the display to the upper leftof the display.
LowerLeftToUpperRight 6 Specifies the color should change in a horizontal direction from the lower left of
the display to the upper right of the display.
UpperRightToLowerLeft 7 Specifies the color should change in a horizontal direction from the upper right of
the display to the lower left of the display.