[]
Specifies the built-in patterns used to fill a shape with a two-color hatch brush. Each value selects a repeating pattern drawn in the foreground color over the background color.
public enum HatchStyle
The members mirror System.Drawing.Drawing2D.HatchStyle and map to the same
underlying numeric values, so a value of this enumeration can be cast to the GDI+ equivalent and back.
| Name | Description |
|---|---|
| BackwardDiagonal | A pattern of lines that slope from the upper left to the lower right. |
| Cross | Crossing horizontal and vertical lines that form a grid. |
| DarkDownwardDiagonal | Downward-sloping diagonal lines spaced like LightDownwardDiagonal but twice as wide. |
| DarkHorizontal | Horizontal lines spaced like Horizontal but three times wider. |
| DarkUpwardDiagonal | Upward-sloping diagonal lines spaced like LightUpwardDiagonal but twice as wide. |
| DarkVertical | Vertical lines spaced like Vertical but three times wider. |
| DashedDownwardDiagonal | Dashed lines that slope downward from left to right. |
| DashedHorizontal | Dashed horizontal lines. |
| DashedUpwardDiagonal | Dashed lines that slope upward from left to right. |
| DashedVertical | Dashed vertical lines. |
| DiagonalBrick | A brick-wall pattern laid out diagonally. |
| DiagonalCross | Crossing forward and backward diagonal lines that form a diagonal grid. |
| Divot | A texture that resembles divots. |
| DottedDiamond | A diamond grid drawn with dotted diagonal lines. |
| DottedGrid | A grid drawn with dotted lines. |
| ForwardDiagonal | A pattern of lines that slope from the lower left to the upper right. |
| Horizontal | A pattern of evenly spaced horizontal lines. |
| HorizontalBrick | A brick-wall pattern laid out horizontally. |
| LargeCheckerBoard | A checkerboard pattern with squares twice the size of SmallCheckerBoard. |
| LargeConfetti | A confetti pattern made of larger scattered specks. |
| LargeGrid | A coarse grid of horizontal and vertical lines; equal to Cross. |
| LightDownwardDiagonal | Downward-sloping diagonal lines, spaced and weighted lighter than ForwardDiagonal; the lines are not anti-aliased. |
| LightHorizontal | Horizontal lines spaced 50% closer together than Horizontal. |
| LightUpwardDiagonal | Upward-sloping diagonal lines, spaced and weighted lighter than BackwardDiagonal; the lines are not anti-aliased. |
| LightVertical | Vertical lines spaced 50% closer together than Vertical. |
| Max | The highest value among the basic line and grid styles; equal to Cross. Useful for range validation. |
| Min | The lowest defined hatch value; equal to Horizontal. Useful for range validation. |
| NarrowHorizontal | Horizontal lines spaced 75% closer together than Horizontal. |
| NarrowVertical | Vertical lines spaced 75% closer together than Vertical. |
| OutlinedDiamond | Forward and backward diagonal lines that form an outlined (hollow) diamond grid. |
| Percent05 | A 5% screen of foreground over background (sparse dotted coverage). |
| Percent10 | A 10% screen of foreground over background. |
| Percent20 | A 20% screen of foreground over background. |
| Percent25 | A 25% screen of foreground over background. |
| Percent30 | A 30% screen of foreground over background. |
| Percent40 | A 40% screen of foreground over background. |
| Percent50 | An even 50% screen of foreground over background. |
| Percent60 | A 60% screen of foreground over background. |
| Percent70 | A 70% screen of foreground over background. |
| Percent75 | A 75% screen of foreground over background. |
| Percent80 | An 80% screen of foreground over background. |
| Percent90 | A 90% screen of foreground over background (nearly solid foreground). |
| Plaid | A plaid (tartan) texture. |
| Shingle | A texture that resembles overlapping shingles. |
| SmallCheckerBoard | A checkerboard pattern with small squares. |
| SmallConfetti | A confetti pattern made of small scattered specks. |
| SmallGrid | A grid of horizontal and vertical lines spaced closer together than LargeGrid. |
| SolidDiamond | A diamond grid whose diamonds are filled solid. |
| Sphere | A texture that resembles a repeating pattern of spheres laid side by side. |
| Trellis | A trellis (lattice) texture. |
| Vertical | A pattern of evenly spaced vertical lines. |
| Wave | Horizontal lines shaped like waves. |
| Weave | A woven or basket-weave texture. |
| WideDownwardDiagonal | Downward-sloping diagonal lines that are three times wider than LightDownwardDiagonal. |
| WideUpwardDiagonal | Upward-sloping diagonal lines that are three times wider than LightUpwardDiagonal. |
| ZigZag | Diagonal zig-zag lines. |