Skip to main content

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.

An Area Filled with a Linear Gradient from Left to Right

Vertical

The diagonal gradient fill’s direction transitions from the top (Color) to the bottom (Color2) area border.

An Area Filled with a Linear Gradient from Top to Bottom

ForwardDiagonal

The diagonal gradient fill’s direction transitions from the top-left (Color) to the bottom-right (Color2) corner.

An Area is Filled with a Linear Gradient from the Top-Left to Bottom-Right Corner

BackwardDiagonal

The diagonal gradient fill’s direction transitions from the top-right (Color) to the bottom-left (Color2) corner.

An Area is Filled with a Linear Gradient from the Top-Right to Bottom-Left 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.

See Also