LinearGradientMode Enum
In This Article
Enumerates linear gradient directions available for DevExpress controls.
#Declaration
Delphi
LinearGradientMode = (
LinearGradientModeHorizontal,
LinearGradientModeVertical,
LinearGradientModeForwardDiagonal,
LinearGradientModeBackwardDiagonal
);
#Members
Name |
---|
Linear
|
Linear
|
Linear
|
Linear
|
#Remarks
Options include:
Value | Description | Gradient Direction | Gradient Example |
---|---|---|---|
Linear |
The left and right borders of a filled rectangle serve as the start and end gradient points. | ![]() |
![]() |
Linear |
The top and bottom borders of a filled rectangle serve as the start and end gradient points. | ![]() |
![]() |
Linear |
The upper-left and bottom right corners of a filled rectangle serve as the start and end gradient points. | ![]() |
![]() |
Linear |
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