TdxFillOptionsGradientMode Enum
Enumerates available linear gradient fill directions.
Declaration
TdxFillOptionsGradientMode = (
Horizontal,
Vertical,
ForwardDiagonal,
BackwardDiagonal
);
Members
| Name | Description | Example |
|---|---|---|
Horizontal
|
The diagonal gradient fill’s direction transitions from the left (Color) to the right (Color2) area border. |
|
Vertical
|
The diagonal gradient fill’s direction transitions from the top (Color) to the bottom (Color2) area border. |
|
ForwardDiagonal
|
The diagonal gradient fill’s direction transitions from the top-left (Color) to the bottom-right (Color2) corner. |
|
BackwardDiagonal
|
The diagonal gradient fill’s direction transitions from the top-right (Color) to the bottom-left (Color2) corner. |
|
Remarks
The TdxFillOptions.GradientMode property references the TdxFillOptionsGradientMode type.
Note
TdxFillOptionsGradientMode is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxFillOptionsGradientMode.ForwardDiagonal (in Delphi) or TdxFillOptionsGradientMode::ForwardDiagonal (in C++Builder) to refer to the ForwardDiagonal value in code.



