HatchStyle Enum

Definition

Specifies the different patterns available for HatchBrush objects.

public enum class HatchStyle
public enum HatchStyle
type HatchStyle = 
Public Enum HatchStyle
Inheritance
HatchStyle

Fields

BackwardDiagonal 3

A pattern of lines on a diagonal from upper right to lower left.

Cross 4

Specifies horizontal and vertical lines that cross.

DarkDownwardDiagonal 20

Specifies 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.

DarkHorizontal 29

Specifies horizontal lines that are spaced 50 percent closer together than Horizontal and are twice the width of Horizontal.

DarkUpwardDiagonal 21

Specifies 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.

DarkVertical 28

Specifies vertical lines that are spaced 50 percent closer together than Vertical and are twice its width.

DashedDownwardDiagonal 30

Specifies dashed diagonal lines, that slant to the right from top points to bottom points.

DashedHorizontal 32

Specifies dashed horizontal lines.

DashedUpwardDiagonal 31

Specifies dashed diagonal lines, that slant to the left from top points to bottom points.

DashedVertical 33

Specifies dashed vertical lines.

DiagonalBrick 38

Specifies a hatch that has the appearance of layered bricks that slant to the left from top points to bottom points.

DiagonalCross 5

A pattern of crisscross diagonal lines.

Divot 42

Specifies a hatch that has the appearance of divots.

DottedDiamond 44

Specifies forward diagonal and backward diagonal lines, each of which is composed of dots, that cross.

DottedGrid 43

Specifies horizontal and vertical lines, each of which is composed of dots, that cross.

ForwardDiagonal 2

A pattern of lines on a diagonal from upper left to lower right.

Horizontal 0

A pattern of horizontal lines.

HorizontalBrick 39

Specifies a hatch that has the appearance of horizontally layered bricks.

LargeCheckerBoard 50

Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of SmallCheckerBoard.

LargeConfetti 35

Specifies a hatch that has the appearance of confetti, and is composed of larger pieces than SmallConfetti.

LargeGrid 4

Specifies the hatch style Cross.

LightDownwardDiagonal 18

Specifies 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.

LightHorizontal 25

Specifies horizontal lines that are spaced 50 percent closer together than Horizontal.

LightUpwardDiagonal 19

Specifies 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.

LightVertical 24

Specifies vertical lines that are spaced 50 percent closer together than Vertical.

Max 4

Specifies hatch style SolidDiamond.

Min 0

Specifies hatch style Horizontal.

NarrowHorizontal 27

Specifies horizontal lines that are spaced 75 percent closer together than hatch style Horizontal (or 25 percent closer together than LightHorizontal).

NarrowVertical 26

Specifies vertical lines that are spaced 75 percent closer together than hatch style Vertical (or 25 percent closer together than LightVertical).

OutlinedDiamond 51

Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.

Percent05 6

Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:95.

Percent10 7

Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:90.

Percent20 8

Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:80.

Percent25 9

Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:75.

Percent30 10

Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:70.

Percent40 11

Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:60.

Percent50 12

Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:50.

Percent60 13

Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:40.

Percent70 14

Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:30.

Percent75 15

Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:25.

Percent80 16

Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:100.

Percent90 17

Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:10.

Plaid 41

Specifies a hatch that has the appearance of a plaid material.

Shingle 45

Specifies a hatch that has the appearance of diagonally layered shingles that slant to the right from top points to bottom points.

SmallCheckerBoard 49

Specifies a hatch that has the appearance of a checkerboard.

SmallConfetti 34

Specifies a hatch that has the appearance of confetti.

SmallGrid 48

Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross.

SolidDiamond 52

Specifies a hatch that has the appearance of a checkerboard placed diagonally.

Sphere 47

Specifies a hatch that has the appearance of spheres laid adjacent to one another.

Trellis 46

Specifies a hatch that has the appearance of a trellis.

Vertical 1

A pattern of vertical lines.

Wave 37

Specifies horizontal lines that are composed of tildes.

Weave 40

Specifies a hatch that has the appearance of a woven material.

WideDownwardDiagonal 22

Specifies 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.

WideUpwardDiagonal 23

Specifies 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.

ZigZag 36

Specifies horizontal lines that are composed of zigzags.

Applies to