LinearGradientDirectionType

Type used for linear gradient direction

type LinearGradientDirectionType int

where values could be one of the following:

Value Constant Description
0 ToTopGradient The value is equivalent to the 0deg angle
1 ToRightTopGradient The value of the "direction" property of a linear gradient
2 ToRightGradient The value is equivalent to the 90deg angle
3 ToRightBottomGradient The value of the "direction" property of a linear gradient
4 ToBottomGradient The value is equivalent to the 180deg angle
5 ToLeftBottomGradient The value of the "direction" property of a linear gradient
6 ToLeftGradient The value is equivalent to the 270deg angle
7 ToLeftTopGradient The value of the "direction" property of a linear gradient