vcl-dxgdiplusapi-5e2acaf7.md
Enumerates linear gradient directions available for DevExpress controls.
LinearGradientMode = (
LinearGradientModeHorizontal,
LinearGradientModeVertical,
LinearGradientModeForwardDiagonal,
LinearGradientModeBackwardDiagonal
);
| Name |
|---|
LinearGradientModeHorizontal |
LinearGradientModeVertical |
LinearGradientModeForwardDiagonal |
LinearGradientModeBackwardDiagonal |
Options include:
| Value | Description | Gradient Direction | Gradient Example |
|---|---|---|---|
| LinearGradientModeHorizontal | The left and right borders of a filled rectangle serve as the start and end gradient points. | ||
| LinearGradientModeVertical | The top and bottom borders of a filled rectangle serve as the start and end gradient points. | ||
| LinearGradientModeForwardDiagonal | The upper-left and bottom right corners of a filled rectangle serve as the start and end gradient points. | ||
| LinearGradientModeBackwardDiagonal | The upper-right and bottom-left corners of the filled rectangle serve as the start and end gradient points. |
The TdxGpLinearGradientMode type maps to the LinearGradientMode type.
See Also