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. |
|
Forward
|
The diagonal gradient fill’s direction transitions from the top-left (Color) to the bottom-right (Color2) corner. |
|
Backward
|
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
Tdx
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 Tdx
(in Delphi) or Tdx
(in C++Builder) to refer to the Forward
value in code.