Skip to main content

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 A Horizontally Hatched Area
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
  1. This example demonstrates different HatchStyle property values under the following conditions:

See Also