EmfPlusHatchStyle

EmfPlusHatchStyle enumeration

The HatchStyle enumeration defines hatch patterns used by graphics brushes. A hatch pattern consists of a solid background color and lines drawn over the background.

public enum EmfPlusHatchStyle

Values

Name Value Description
HatchStyleHorizontal 0 Specifies equally spaced horizontal lines.
HatchStyleVertical 1 Specifies equally spaced vertical lines.
HatchStyleForwardDiagonal 2 Specifies lines on a diagonal from upper left to lower right.
HatchStyleBackwardDiagonal 3 Specifies lines on a diagonal from upper right to lower left.
HatchStyleLargeGrid 4 Specifies crossing horizontal and vertical lines.
HatchStyleDiagonalCross 5 Specifies crossing forward diagonal and backward diagonal lines with anti-aliasing.
HatchStyle05Percent 6 Specifies a 5-percent hatch, which is the ratio of foreground color to background color equal to 5:100.
HatchStyle10Percent 7 Specifies a 10-percent hatch, which is the ratio of foreground color to background color equal to 10:100.
HatchStyle20Percent 8 Specifies a 20-percent hatch, which is the ratio of foreground color to background color equal to 20:100.
HatchStyle25Percent 9 Specifies a 20-percent hatch, which is the ratio of foreground color to background color equal to 20:100.
HatchStyle30Percent 10 Specifies a 30-percent hatch, which is the ratio of foreground color to background color equal to 30:100.
HatchStyle40Percent 11 Specifies a 40-percent hatch, which is the ratio of foreground color to background color equal to 40:100.
HatchStyle50Percent 12 Specifies a 50-percent hatch, which is the ratio of foreground color to background color equal to 50:100.
HatchStyle60Percent 13 Specifies a 60-percent hatch, which is the ratio of foreground color to background color equal to 60:100.
HatchStyle70Percent 14 Specifies a 70-percent hatch, which is the ratio of foreground color to background color equal to 70:100.
HatchStyle75Percent 15 Specifies a 75-percent hatch, which is the ratio of foreground color to background color equal to 75:100.
HatchStyle80Percent 16 Specifies an 80-percent hatch, which is the ratio of foreground color to background color equal to 80:100.
HatchStyle90Percent 17 Specifies a 90-percent hatch, which is the ratio of foreground color to background color equal to 90:100.
HatchStyleLightDownwardDiagonal 18 Specifies diagonal lines that slant to the right from top to bottom points with no anti-aliasing. They are spaced 50 percent further apart than lines in the HatchStyleForwardDiagonal pattern
HatchStyleLightUpwardDiagonal 19 Specifies diagonal lines that slant to the left from top to bottom points with no anti-aliasing. They are spaced 50 percent further apart than lines in the HatchStyleBackwardDiagonal pattern.
HatchStyleDarkDownwardDiagonal 20 Specifies diagonal lines that slant to the right from top to bottom points with no anti-aliasing. They are spaced 50 percent closer and are twice the width of lines in the HatchStyleForwardDiagonal pattern.
HatchStyleDarkUpwardDiagonal 21 Specifies diagonal lines that slant to the left from top to bottom points with no anti-aliasing. They are spaced 50 percent closer and are twice the width of lines in the HatchStyleBackwardDiagonal pattern.
HatchStyleWideDownwardDiagonal 22 Specifies diagonal lines that slant to the right from top to bottom points with no anti-aliasing. They have the same spacing between lines in HatchStyleWideDownwardDiagonal pattern and HatchStyleForwardDiagonal pattern, but HatchStyleWideDownwardDiagonal has the triple line width of HatchStyleForwardDiagonal.
HatchStyleWideUpwardDiagonal 23 Specifies diagonal lines that slant to the left from top to bottom points with no anti-aliasing. They have the same spacing between lines in HatchStyleWideUpwardDiagonal pattern and HatchStyleBackwardDiagonal pattern, but HatchStyleWideUpwardDiagonal has the triple line width of HatchStyleWideUpwardDiagonal.
HatchStyleLightVertical 24 Specifies vertical lines that are spaced 50 percent closer together than lines in the HatchStyleVertical pattern.
HatchStyleLightHorizontal 25 Specifies horizontal lines that are spaced 50 percent closer than lines in the HatchStyleHorizontal pattern.
HatchStyleNarrowVertical 26 Specifies vertical lines that are spaced 75 percent closer than lines in the HatchStyleVertical pattern; or 25 percent closer than lines in the HatchStyleLightVertical pattern.
HatchStyleNarrowHorizontal 27 Specifies horizontal lines that are spaced 75 percent closer than lines in the HatchStyleHorizontal pattern; or 25 percent closer than lines in the HatchStyleLightHorizontal pattern.
HatchStyleDarkVertical 28 Specifies lines that are spaced 50 percent closer than lines in the HatchStyleVertical pattern.
HatchStyleDarkHorizontal 29 Specifies lines that are spaced 50 percent closer than lines in the HatchStyleHorizontal pattern.
HatchStyleDashedDownwardDiagonal 30 Specifies dashed diagonal lines that slant to the right from top to bottom points.
HatchStyleDashedUpwardDiagonal 31 Specifies dashed diagonal lines that slant to the left from top to bottom points.
HatchStyleDashedHorizontal 32 Specifies dashed horizontal lines.
HatchStyleDashedVertical 33 Specifies dashed vertical lines.
HatchStyleSmallConfetti 34 Specifies a pattern of lines that has the appearance of confetti.
HatchStyleLargeConfetti 35 Specifies a pattern of lines that has the appearance of confetti, and is composed of larger pieces than the HatchStyleSmallConfetti pattern.
HatchStyleZigZag 36 Specifies horizontal lines that are composed of zigzags.
HatchStyleWave 37 Specifies horizontal lines that are composed of tildes.
HatchStyleDiagonalBrick 38 Specifies a pattern of lines that has the appearance of layered bricks that slant to the left from top to bottom points.
HatchStyleHorizontalBrick 39 Specifies a pattern of lines that has the appearance of horizontally layered bricks.
HatchStyleWeave 40 Specifies a pattern of lines that has the appearance of a woven material.
HatchStylePlaid 41 Specifies a pattern of lines that has the appearance of a plaid material.
HatchStyleDivot 42 Specifies a pattern of lines that has the appearance of divots.
HatchStyleDottedGrid 43 Specifies crossing horizontal and vertical lines, each of which is composed of dots.
HatchStyleDottedDiamond 44 Specifies crossing forward and backward diagonal lines, each of which is composed of dots.
HatchStyleShingle 45 Specifies a pattern of lines that has the appearance of diagonally layered shingles that slant to the right from top to bottom points.
HatchStyleTrellis 46 Specifies a pattern of lines that has the appearance of a trellis.
HatchStyleSphere 47 Specifies a pattern of lines that has the appearance of spheres laid adjacent to each other.
HatchStyleSmallGrid 48 Specifies crossing horizontal and vertical lines that are spaced 50 percent closer together than HatchStyleLargeGrid.
HatchStyleSmallCheckerBoard 49 Specifies a pattern of lines that has the appearance of a checkerboard.
HatchStyleLargeCheckerBoard 50 Specifies a pattern of lines that has the appearance of a checkerboard, with squares that are twice the size of the squares in the HatchStyleSmallCheckerBoard pattern.
HatchStyleOutlinedDiamond 51 Specifies crossing forward and backward diagonal lines; the lines are not anti-aliased.
HatchStyleSolidDiamond 52 Specifies a pattern of lines that has the appearance of a checkerboard placed diagonally.

See Also