TdxFillOptions.HatchStyle Property
Specifies hatch pattern in Hatch fill mode.
Declaration
property HatchStyle: TdxFillOptionsHatchStyle read; write; default TdxFillOptionsHatchStyle.Horizontal;
Property Value
Type | Default | Description |
---|---|---|
TdxFillOptionsHatchStyle | Horizontal | The active hatch pattern. |
Remarks
Use the HatchStyle
property to switch between available hatch patterns when the Mode property is set to TdxFillOptionsMode.Hatch. Color and Color2 properties define background and hatch colors for all available patterns.
Examples
Value | Example[1] |
---|---|
TdxFillOptionsHatchStyle.Horizontal | |
TdxFillOptionsHatchStyle.ForwardDiagonal | ![A Diagonally Hatched Area]((~/images/ExpressCrossPlatformLibrary/vcl-cxcustomcanvas-tdxfilloptionshatchstyle-forwarddiagonal.png) |
Refer to the TdxFillOptionsHatchStyle type description for the full list of supported hatch styles.
Default Value
The HatchStyle
property’s default value is TdxFillOptionsHatchStyle.Horizontal.
Note
The HatchStyle
property value is ignored if the Mode property is not set to TdxFillOptionsMode.Hatch.
Footnotes
-
This example demonstrates different
HatchStyle
property values under the following conditions:- The Color property is set to TdxAlphaColors.White.
- The Color2 property is set to TdxAlphaColors.LightGray.
See Also