[]
DsPdfJS API / HatchStyle
Enumerates the different patterns available for HatchBrush objects.
AlternatingHorizontalLines:
0
Horizontal stripes: Alternating horizontal lines
AlternatingVerticalLines:
1
Vertical stripes: Alternating vertical lines
Backslashes:
2
Stripes: Backslashes
BackwardDiagonal:
3
A pattern of backward diagonal lines.
DarkDiagonal:
4
A pattern of thick diagonal lines.
DarkDownwardDiagonalStripes:
5
Diagonal stripes: Dark downward
DarkHorizontalStripes:
6
Horizontal stripes: Dark
DarkUpwardDiagonalStripes:
7
Diagonal stripes: Dark upward
DarkVerticalStripes:
8
Vertical stripes: Dark
Diagonal:
9
A pattern of diagonal lines.
DiagonalBrick:
10
Diagonal brick
Divot:
11
Divot
Dotted05:
12
Dotted: 5%
Dotted10:
13
Dotted: 10%
Dotted20:
14
Dotted: 20%
Dotted25:
15
Dotted: 25%
Dotted30:
16
Dotted: 30%
Dotted40:
17
Dotted: 40%
Dotted50:
18
Dotted: 50%
Dotted60:
19
Dotted: 60%
Dotted70:
20
Dotted: 70%
Dotted75:
21
Dotted: 75%
Dotted80:
22
Dotted: 80%
Dotted90:
23
Dotted: 90%
DottedDiamondGrid:
24
Dotted diamond grid
DottedGrid:
25
Dotted grid
ForwardDiagonal:
26
A pattern of forward diagonal lines.
Horizontal:
27
A pattern of horizontal lines.
HorizontalBrick:
28
Horizontal brick
LargeCheckerBoard:
29
Large checker board
LargeConfetti:
30
Large confetti
LargeGrid:
31
Large grid
LightBackwardDiagonal:
32
A pattern of thin backward diagonal lines.
LightDiagonal:
33
A pattern of thin diagonal lines.
LightDownwardDiagonalStripes:
34
Diagonal stripes: Light downward
LightForwardDiagonal:
35
A pattern of thin forward diagonal lines.
LightGrid:
36
A pattern of thin vertical and horizontal lines.
LightHorizontal:
37
A pattern of thin horizontal lines.
LightHorizontalStripes:
38
Horizontal stripes: Light
LightUpwardDiagonalStripes:
39
Diagonal stripes: Light upward
LightVertical:
40
A pattern of thin vertical lines.
LightVerticalStripes:
41
Vertical stripes: Light
NarrowHorizontalStripes:
42
Horizontal stripes: Narrow
NarrowVerticalStripes:
43
Vertical stripes: Narrow
OutlinedDiamondGrid:
44
Outlined diamond grid
Percent12:
45
Specifies a 12-percent hatch. The ratio of foreground color to background color is 12:88.
Percent25:
46
Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:75.
Percent50:
47
Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:50.
Percent6:
48
Specifies a 6-percent hatch. The ratio of foreground color to background color is 6:94.
Percent75:
49
Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:25.
Plaid:
50
Plaid
Shingle:
51
Shingle
Slashes:
52
Stripes: Slashes
SmallCheckerBoard:
53
Small checker board
SmallConfetti:
54
Small confetti
SmallGrid:
55
Small grid
SolidDiamondGrid:
56
Solid diamond grid
SparseBackwardDiagonal:
57
A pattern of rare thin backward diagonal lines.
SparseForwardDiagonal:
58
A pattern of rare thin forward diagonal lines.
SparseHorizontal:
59
A pattern of rare thin horizontal lines.
SparseVertical:
60
A pattern of rare thin vertical lines.
Sphere:
61
Sphere
Trellis:
62
Trellis
Vertical:
63
A pattern of vertical lines.
Wave:
64
Wave
Weave:
65
Weave
WideDownwardDiagonalStripes:
66
Diagonal stripes: Wide downward
WideUpwardDiagonalStripes:
67
Diagonal stripes: Wide upward
ZigZag:
68
Zig zag