Editar

Compartir vía


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

Name Value Description
Horizontal 0

A pattern of horizontal lines.

Min 0

Specifies hatch style Horizontal.

Vertical 1

A pattern of vertical lines.

ForwardDiagonal 2

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

BackwardDiagonal 3

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

Cross 4

Specifies horizontal and vertical lines that cross.

LargeGrid 4

Specifies the hatch style Cross.

Max 4

Specifies hatch style LargeGrid.

DiagonalCross 5

A pattern of crisscross diagonal lines.

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.

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.

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.

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.

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.

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.

LightVertical 24

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

LightHorizontal 25

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

NarrowVertical 26

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

NarrowHorizontal 27

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

DarkVertical 28

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

DarkHorizontal 29

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

DashedDownwardDiagonal 30

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

DashedUpwardDiagonal 31

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

DashedHorizontal 32

Specifies dashed horizontal lines.

DashedVertical 33

Specifies dashed vertical lines.

SmallConfetti 34

Specifies a hatch that has the appearance of confetti.

LargeConfetti 35

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

ZigZag 36

Specifies horizontal lines that are composed of zigzags.

Wave 37

Specifies horizontal lines that are composed of tildes.

DiagonalBrick 38

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

HorizontalBrick 39

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

Weave 40

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

Plaid 41

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

Divot 42

Specifies a hatch that has the appearance of divots.

DottedGrid 43

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

DottedDiamond 44

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

Shingle 45

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

Trellis 46

Specifies a hatch that has the appearance of a trellis.

Sphere 47

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

SmallGrid 48

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

SmallCheckerBoard 49

Specifies a hatch that has the appearance of a checkerboard.

LargeCheckerBoard 50

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

OutlinedDiamond 51

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

SolidDiamond 52

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

Applies to