Help Center

HatchStylefunction

Specifies the hatch pattern used by a brush of type **HatchBrush**. The hatch pattern consists of a solid background color and lines drawn over the background.

Graphicsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Parameters

NameDescription
HatchStyleHorizontal0
HatchStyleVertical1
HatchStyleForwardDiagonal2
HatchStyleBackwardDiagonal3
HatchStyleCross4
HatchStyleLargeGrid4
HatchStyleDiagonalCross5
HatchStyle05Percent6
HatchStyle10Percent7
HatchStyle20Percent8
HatchStyle25Percent9
HatchStyle30Percent10
HatchStyle40Percent11
HatchStyle50Percent12
HatchStyle60Percent13
HatchStyle70Percent14
HatchStyle75Percent15
HatchStyle80Percent16
HatchStyle90Percent17
HatchStyleLightDownwardDiagonal18
HatchStyleLightUpwardDiagonal19
HatchStyleDarkDownwardDiagonal20
HatchStyleDarkUpwardDiagonal21
HatchStyleWideDownwardDiagonal22
HatchStyleWideUpwardDiagonal23
HatchStyleLightVertical24
HatchStyleLightHorizontal25
HatchStyleNarrowVertical26
HatchStyleNarrowHorizontal27
HatchStyleDarkVertical28
HatchStyleDarkHorizontal29
HatchStyleDashedDownwardDiagonal30
HatchStyleDashedUpwardDiagonal31
HatchStyleDashedHorizontal32
HatchStyleDashedVertical33
HatchStyleSmallConfetti34
HatchStyleLargeConfetti35
HatchStyleZigZag36
HatchStyleWave37
HatchStyleDiagonalBrick38
HatchStyleHorizontalBrick39
HatchStyleWeave40
HatchStylePlaid41
HatchStyleDivot42
HatchStyleDottedGrid43
HatchStyleDottedDiamond44
HatchStyleShingle45
HatchStyleTrellis46
HatchStyleSphere47
HatchStyleSmallGrid48
HatchStyleSmallCheckerBoard49
HatchStyleLargeCheckerBoard50
HatchStyleOutlinedDiamond51
HatchStyleSolidDiamond52
HatchStyleTotal53
HatchStyleMinHatchStyleHorizontal
HatchStyleMaxHatchStyleTotal - 1

Description

The HatchStyle enumeration specifies the hatch pattern used by a brush of type HatchBrush. The hatch pattern consists of a solid background color and lines drawn over the background.

Reference