Enum 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

NameValueDescription
HatchStyleHorizontal0Specifies equally spaced horizontal lines.
HatchStyleVertical1Specifies equally spaced vertical lines.
HatchStyleForwardDiagonal2Specifies lines on a diagonal from upper left to lower right.
HatchStyleBackwardDiagonal3Specifies lines on a diagonal from upper right to lower left.
HatchStyleLargeGrid4Specifies crossing horizontal and vertical lines.
HatchStyleDiagonalCross5Specifies crossing forward diagonal and backward diagonal lines with anti-aliasing.
HatchStyle05Percent6Specifies a 5-percent hatch, which is the ratio of foreground color to background color equal to 5:100.
HatchStyle10Percent7Specifies a 10-percent hatch, which is the ratio of foreground color to background color equal to 10:100.
HatchStyle20Percent8Specifies a 20-percent hatch, which is the ratio of foreground color to background color equal to 20:100.
HatchStyle25Percent9Specifies a 20-percent hatch, which is the ratio of foreground color to background color equal to 20:100.
HatchStyle30Percent10Specifies a 30-percent hatch, which is the ratio of foreground color to background color equal to 30:100.
HatchStyle40Percent11Specifies a 40-percent hatch, which is the ratio of foreground color to background color equal to 40:100.
HatchStyle50Percent12Specifies a 50-percent hatch, which is the ratio of foreground color to background color equal to 50:100.
HatchStyle60Percent13Specifies a 60-percent hatch, which is the ratio of foreground color to background color equal to 60:100.
HatchStyle70Percent14Specifies a 70-percent hatch, which is the ratio of foreground color to background color equal to 70:100.
HatchStyle75Percent15Specifies a 75-percent hatch, which is the ratio of foreground color to background color equal to 75:100.
HatchStyle80Percent16Specifies an 80-percent hatch, which is the ratio of foreground color to background color equal to 80:100.
HatchStyle90Percent17Specifies a 90-percent hatch, which is the ratio of foreground color to background color equal to 90:100.
HatchStyleLightDownwardDiagonal18Specifies 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
HatchStyleLightUpwardDiagonal19Specifies 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.
HatchStyleDarkDownwardDiagonal20Specifies 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.
HatchStyleDarkUpwardDiagonal21Specifies 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.
HatchStyleWideDownwardDiagonal22Specifies 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.
HatchStyleWideUpwardDiagonal23Specifies 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.
HatchStyleLightVertical24Specifies vertical lines that are spaced 50 percent closer together than lines in the HatchStyleVertical pattern.
HatchStyleLightHorizontal25Specifies horizontal lines that are spaced 50 percent closer than lines in the HatchStyleHorizontal pattern.
HatchStyleNarrowVertical26Specifies vertical lines that are spaced 75 percent closer than lines in the HatchStyleVertical pattern; or 25 percent closer than lines in the HatchStyleLightVertical pattern.
HatchStyleNarrowHorizontal27Specifies horizontal lines that are spaced 75 percent closer than lines in the HatchStyleHorizontal pattern; or 25 percent closer than lines in the HatchStyleLightHorizontal pattern.
HatchStyleDarkVertical28Specifies lines that are spaced 50 percent closer than lines in the HatchStyleVertical pattern.
HatchStyleDarkHorizontal29Specifies lines that are spaced 50 percent closer than lines in the HatchStyleHorizontal pattern.
HatchStyleDashedDownwardDiagonal30Specifies dashed diagonal lines that slant to the right from top to bottom points.
HatchStyleDashedUpwardDiagonal31Specifies dashed diagonal lines that slant to the left from top to bottom points.
HatchStyleDashedHorizontal32Specifies dashed horizontal lines.
HatchStyleDashedVertical33Specifies dashed vertical lines.
HatchStyleSmallConfetti34Specifies a pattern of lines that has the appearance of confetti.
HatchStyleLargeConfetti35Specifies a pattern of lines that has the appearance of confetti, and is composed of larger pieces than the HatchStyleSmallConfetti pattern.
HatchStyleZigZag36Specifies horizontal lines that are composed of zigzags.
HatchStyleWave37Specifies horizontal lines that are composed of tildes.
HatchStyleDiagonalBrick38Specifies a pattern of lines that has the appearance of layered bricks that slant to the left from top to bottom points.
HatchStyleHorizontalBrick39Specifies a pattern of lines that has the appearance of horizontally layered bricks.
HatchStyleWeave40Specifies a pattern of lines that has the appearance of a woven material.
HatchStylePlaid41Specifies a pattern of lines that has the appearance of a plaid material.
HatchStyleDivot42Specifies a pattern of lines that has the appearance of divots.
HatchStyleDottedGrid43Specifies crossing horizontal and vertical lines, each of which is composed of dots.
HatchStyleDottedDiamond44Specifies crossing forward and backward diagonal lines, each of which is composed of dots.
HatchStyleShingle45Specifies a pattern of lines that has the appearance of diagonally layered shingles that slant to the right from top to bottom points.
HatchStyleTrellis46Specifies a pattern of lines that has the appearance of a trellis.
HatchStyleSphere47Specifies a pattern of lines that has the appearance of spheres laid adjacent to each other.
HatchStyleSmallGrid48Specifies crossing horizontal and vertical lines that are spaced 50 percent closer together than HatchStyleLargeGrid.
HatchStyleSmallCheckerBoard49Specifies a pattern of lines that has the appearance of a checkerboard.
HatchStyleLargeCheckerBoard50Specifies 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.
HatchStyleOutlinedDiamond51Specifies crossing forward and backward diagonal lines; the lines are not anti-aliased.
HatchStyleSolidDiamond52Specifies a pattern of lines that has the appearance of a checkerboard placed diagonally.

See Also