TdxFillOptions.GradientMode Property
Specifies gradient fill direction in Gradient mode.
#Declaration
Delphi
property GradientMode: TdxFillOptionsGradientMode read; write; default TdxFillOptionsGradientMode.Horizontal;
#Property Value
Type | Default | Description |
---|---|---|
Tdx |
Horizontal | The current gradient fill direction. |
#Remarks
Use the GradientMode
property to switch between available hatch patterns when the Mode property is set to TdxFillOptionsMode.Gradient. Color and Color2 properties define gradient beginning and end colors, respectively.
#Property Value Examples
Value | Example[1] |
---|---|
Tdx |
![]() |
Tdx |
![]() |
Refer to the TdxFillOptionsGradientMode type description for the full list of available gradient directions.
#Default Value
The GradientMode
property’s default value is TdxFillOptionsGradientMode.Horizontal.
Note
The Hatch
property value is ignored if the Mode property is not set to Tdx
Footnotes
-
This example demonstrates different
GradientMode
property values under the following conditions:- The Color property is set to TdxAlphaColors.White.
- The Color2 property is set to TdxAlphaColors.Gray.
See Also