Specifies the gradient direction to use for drawing.
If you use the ATL COM version of the library, you can supply the string value (the name of the value) or the number value (as listed in the table below) as the enumeration value. If you use the Class Library, the enumeration is available as an enum object with the name MarblecoreImagingGradient which contains all the available values.
Values
Name
Value
Description
Horizontal
0
Horizontal gradient
Vertical
1
Vertical gradient
DiagonalForward
2
Diagonal gradient from upper-left to lower-right corner
DiagonalBackward
3
Diagonal gradient from upper-right to lower-left corner