Enum HatchStyle

HatchStyle enumeration

Specifies the different patterns available for HatchBrush objects.

public enum HatchStyle

Values

NameValueDescription
Horizontal0A pattern of horizontal lines.
Vertical1A pattern of vertical lines.
ForwardDiagonal2A pattern of lines on a diagonal from upper left to lower right.
BackwardDiagonal3A pattern of lines on a diagonal from upper right to lower left.
Cross4Specifies horizontal and vertical lines that cross.
DiagonalCross5A pattern of crisscross diagonal lines.
Percent056Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:100.
Percent107Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:100.
Percent208Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:100.
Percent259Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:100.
Percent3010Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:100.
Percent4011Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:100.
Percent5012Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:100.
Percent6013Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:100.
Percent7014Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:100.
Percent7515Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:100.
Percent8016Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:100.
Percent9017Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:100.
LightDownwardDiagonal18Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than ForwardDiagonal, but are not antialiased.
LightUpwardDiagonal19Specifies diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent closer together than BackwardDiagonal, but they are not antialiased.
DarkDownwardDiagonal20Specifies diagonal lines that slant to the right from top points to bottom points, are spaced 50 percent closer together than, and are twice the width of ForwardDiagonal. This hatch pattern is not antialiased.
DarkUpwardDiagonal21Specifies diagonal lines that slant to the left from top points to bottom points, are spaced 50 percent closer together than BackwardDiagonal, and are twice its width, but the lines are not antialiased.
WideDownwardDiagonal22Specifies diagonal lines that slant to the right from top points to bottom points, have the same spacing as hatch style ForwardDiagonal, and are triple its width, but are not antialiased.
WideUpwardDiagonal23Specifies diagonal lines that slant to the left from top points to bottom points, have the same spacing as hatch style BackwardDiagonal, and are triple its width, but are not antialiased.
LightVertical24Specifies vertical lines that are spaced 50 percent closer together than Vertical.
LightHorizontal25Specifies horizontal lines that are spaced 50 percent closer together than Horizontal.
NarrowVertical26Specifies vertical lines that are spaced 75 percent closer together than hatch style Vertical (or 25 percent closer together than LightVertical).
NarrowHorizontal27Specifies horizontal lines that are spaced 75 percent closer together than hatch style Horizontal (or 25 percent closer together than LightHorizontal).
DarkVertical28Specifies vertical lines that are spaced 50 percent closer together than Vertical and are twice its width.
DarkHorizontal29Specifies horizontal lines that are spaced 50 percent closer together than Horizontal and are twice the width of Horizontal.
DashedDownwardDiagonal30Specifies dashed diagonal lines, that slant to the right from top points to bottom points.
DashedUpwardDiagonal31Specifies dashed diagonal lines, that slant to the left from top points to bottom points.
DashedHorizontal32Specifies dashed horizontal lines.
DashedVertical33Specifies dashed vertical lines.
SmallConfetti34Specifies a hatch that has the appearance of confetti.
LargeConfetti35Specifies a hatch that has the appearance of confetti, and is composed of larger pieces than SmallConfetti.
ZigZag36Specifies horizontal lines that are composed of zigzags.
Wave37Specifies horizontal lines that are composed of tildes.
DiagonalBrick38Specifies a hatch that has the appearance of layered bricks that slant to the left from top points to bottom points.
HorizontalBrick39Specifies a hatch that has the appearance of horizontally layered bricks.
Weave40Specifies a hatch that has the appearance of a woven material.
Plaid41Specifies a hatch that has the appearance of a plaid material.
Divot42Specifies a hatch that has the appearance of divots.
DottedGrid43Specifies horizontal and vertical lines, each of which is composed of dots, that cross.
DottedDiamond44Specifies forward diagonal and backward diagonal lines, each of which is composed of dots, that cross.
Shingle45Specifies a hatch that has the appearance of diagonally layered shingles that slant to the right from top points to bottom points.
Trellis46Specifies a hatch that has the appearance of a trellis.
Sphere47Specifies a hatch that has the appearance of spheres laid adjacent to one another.
SmallGrid48Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross.
SmallCheckerBoard49Specifies a hatch that has the appearance of a checkerboard.
LargeCheckerBoard50Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of SmallCheckerBoard.
OutlinedDiamond51Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.
SolidDiamond52Specifies a hatch that has the appearance of a checkerboard placed diagonally.
LargeGrid4Specifies the hatch style Cross.
Min0Specifies hatch style Horizontal.
Max4Specifies hatch style SolidDiamond.

See Also