Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Enumerations / Gradient

Gradient enumeration

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

NameValueDescription
Horizontal0Horizontal gradient
Vertical1Vertical gradient
DiagonalForward2Diagonal gradient from upper-left to lower-right corner
DiagonalBackward3Diagonal gradient from upper-right to lower-left corner

See also

DrawCurveGradient | DrawEllipseGradient | DrawPieGradient | DrawPolygonGradient | DrawRectangleGradient | DrawRectangleTransparent | DrawRhombusGradient | DrawRoundRectangleGradient | DrawTextInGradient | DrawTextInGradientUsingWarp | DrawTextInGradientWithBorder | DrawTextInGradientWithBorderAndShadow | DrawTextInGradientWithBorderAndShadowUsingWarp | DrawTextInGradientWithBorderUsingWarp | DrawTextInGradientWithShadow | DrawTextInGradientWithShadowUsingWarp | DrawTriangleGradient