vcl-cxcustomcanvas-0e7caab8.md
Enumerates available hatch fill patterns.
TdxFillOptionsHatchStyle = (
Horizontal,
Vertical,
ForwardDiagonal,
BackwardDiagonal,
Cross,
DiagonalCross,
Percent05,
Percent10,
Percent20,
Percent25,
Percent30,
Percent40,
Percent50,
Percent60,
Percent70,
Percent75,
Percent80,
Percent90,
LightDownwardDiagonal,
LightUpwardDiagonal,
DarkDownwardDiagonal,
DarkUpwardDiagonal,
WideDownwardDiagonal,
WideUpwardDiagonal,
LightVertical,
LightHorizontal,
NarrowVertical,
NarrowHorizontal,
DarkVertical,
DarkHorizontal,
DashedDownwardDiagonal,
DashedUpwardDiagonal,
DashedHorizontal,
DashedVertical,
SmallConfetti,
LargeConfetti,
ZigZag,
Wave,
DiagonalBrick,
HorizontalBrick,
Weave,
Plaid,
Divot,
DottedGrid,
DottedDiamond,
Shingle,
Trellis,
Sphere,
SmallGrid,
SmallCheckerBoard,
LargeCheckerBoard,
OutlinedDiamond,
SolidDiamond
);
| Name | Description | Example |
|---|---|---|
Horizontal |
Default. This pattern consists of thin horizontal lines.
|
|
| Vertical |
This pattern consists of interleaved vertical lines.
|
|
| ForwardDiagonal |
This pattern consists of thin diagonal lines from the upper-left to bottom-right corner.
|
|
| BackwardDiagonal |
This pattern consists of thin diagonal lines from the bottom-left to upper-right corner.
|
|
| Cross |
This pattern is a crosshatch of horizontal and vertical lines.
|
|
| DiagonalCross |
This pattern is a crosshatch of two sets of diagonal interleaved lines.
|
|
| Percent05 |
This pattern consists of evenly distributed pixels that occupy 5% of the total area.
|
|
| Percent10 |
This pattern consists of evenly distributed pixels that occupy 10% of the total area.
|
|
| Percent20 |
This pattern consists of evenly distributed pixels that occupy 20% of the total area.
|
|
| Percent25 |
This pattern consists of evenly distributed pixels that occupy 25% of the total area.
|
|
| Percent30 |
This pattern consists of evenly distributed pixels that occupy 30% of the total area.
|
|
| Percent40 |
This pattern consists of evenly distributed pixels that occupy 40% of the total area.
|
|
| Percent50 |
This pattern consists of evenly distributed pixels that occupy 50% of the total area.
|
|
| Percent60 |
This pattern consists of evenly distributed pixels that occupy 60% of the total area.
|
|
| Percent70 |
This pattern consists of evenly distributed pixels that occupy 70% of the total area.
|
|
| Percent75 |
This pattern consists of evenly distributed pixels that occupy 75% of the total area.
|
|
| Percent80 |
This pattern consists of evenly distributed pixels that occupy 80% of the total area.
|
|
| Percent90 |
This pattern consists of evenly distributed pixels that occupy 90% of the total area.
|
|
| LightDownwardDiagonal |
This pattern consists of sparse lines from the top-left to bottom-right corner.
|
|
| LightUpwardDiagonal |
This pattern consists of sparse diagonal lines from the bottom-left to top-right corner.
|
|
| DarkDownwardDiagonal |
This pattern consists of densely-spaced diagonal lines from the top-left to bottom-right corner.
|
|
| DarkUpwardDiagonal |
This pattern consists of densely-spaced diagonal lines from the bottom-left to top-right corner.
|
|
| WideDownwardDiagonal |
This pattern consists of thick diagonal lines from the top-left to bottom-right corner.
|
|
| WideUpwardDiagonal |
This pattern consists of thick diagonal lines from the bottom-left to top-right corner.
|
|
| LightVertical |
This pattern consists of sparse vertical lines.
|
|
| LightHorizontal |
This pattern consists of sparse horizontal lines.
|
|
| NarrowVertical |
This pattern consists of vertical thin interleaved lines.
|
|
| NarrowHorizontal |
This pattern consists of horizontal interleaved thin lines.
|
|
| DarkVertical |
This pattern consists of densely-spaced vertical lines.
|
|
| DarkHorizontal |
This pattern consists of densely-spaced horizontal lines.
|
|
| DashedDownwardDiagonal |
This pattern consists of dashed diagonal lines from the top-left to bottom-right corner.
|
|
| DashedUpwardDiagonal |
This pattern consists of dashed diagonal lines from the bottom-left to top-right corner.
|
|
| DashedHorizontal |
This pattern consists of horizontal dashed lines.
|
|
| DashedVertical |
This pattern consists of dashed vertical lines.
|
|
| SmallConfetti |
This pattern fills an area with irregularly positioned small dots.
|
|
| LargeConfetti |
This pattern fills an area with large irregularly-positioned dots.
|
|
| ZigZag |
This pattern consists of thin horizontal zigzag lines.
|
|
| Wave |
This pattern consists of horizontal wave-like lines.
|
|
| DiagonalBrick |
A diagonal brick-like pattern.
|
|
| HorizontalBrick |
A horizontal brick-like pattern.
|
|
| Weave |
A weave-like pattern.
|
|
| Plaid |
A plaid-weave pattern.
|
|
| Divot |
This pattern consists of dashed vertical zigzag lines.
|
|
| DottedGrid |
This pattern is a crosshatch of dotted horizontal and vertical lines.
|
|
| DottedDiamond |
This pattern is a crosshatch of two sets of diagonal dotted lines.
|
|
| Shingle |
A shingle-like pattern.
|
|
| Trellis |
This pattern fills an area with a solid color leaving small horizontal holes at regular intervals.
|
|
| Sphere |
This pattern consists of densely-spaced sphere-like elements.
|
|
| SmallGrid |
This pattern is a crosshatch of densely-spaced horizontal and vertical thin lines.
|
|
| SmallCheckerBoard |
A checkerboard pattern with small elements.
|
|
| LargeCheckerBoard |
A checkerboard pattern with large elements.
|
|
| OutlinedDiamond |
This pattern is a crosshatch of thin diagonal lines.
|
|
| SolidDiamond |
This pattern consists of regularly positioned diamond-shaped elements.
|
|
The TdxFillOptions.HatchStyle property references the TdxFillOptionsHatchStyle type.
Note
TdxFillOptionsHatchStyle 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 TdxFillOptionsHatchStyle.BackwardDiagonal (in Delphi) or TdxFillOptionsHatchStyle::BackwardDiagonal (in C++Builder) to refer to the BackwardDiagonal value in code.
See Also