Click or drag to resize
HatchStyle Enumeration
Specifies the different patterns available for HatchBrush objects.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.05
Syntax
public enum HatchStyle
Members
  Member nameValueDescription
Horizontal0 A pattern of horizontal lines.
Min0 Specifies hatch style Horizontal.
Vertical1 A pattern of vertical lines.
ForwardDiagonal2 A pattern of lines on a diagonal from upper left to lower right.
BackwardDiagonal3 A pattern of lines on a diagonal from upper right to lower left.
Cross4 Specifies horizontal and vertical lines that cross.
LargeGrid4 Specifies the hatch style Cross.
Max4 Specifies hatch style SolidDiamond.
DiagonalCross5 A pattern of crisscross diagonal lines.
Percent056 Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:95.
Percent107 Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:90.
Percent208 Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:80.
Percent259 Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:75.
Percent3010 Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:70.
Percent4011 Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:60.
Percent5012 Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:50.
Percent6013 Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:40.
Percent7014 Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:30.
Percent7515 Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:25.
Percent8016 Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:100.
Percent9017 Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:10.
LightDownwardDiagonal18 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.
LightUpwardDiagonal19 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.
DarkDownwardDiagonal20 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.
DarkUpwardDiagonal21 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.
WideDownwardDiagonal22 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.
WideUpwardDiagonal23 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.
LightVertical24 Specifies vertical lines that are spaced 50 percent closer together than Vertical.
LightHorizontal25 Specifies horizontal lines that are spaced 50 percent closer together than Horizontal.
NarrowVertical26 Specifies vertical lines that are spaced 75 percent closer together than hatch style Vertical (or 25 percent closer together than LightVertical).
NarrowHorizontal27 Specifies horizontal lines that are spaced 75 percent closer together than hatch style Horizontal (or 25 percent closer together than LightHorizontal).
DarkVertical28 Specifies vertical lines that are spaced 50 percent closer together than Vertical and are twice its width.
DarkHorizontal29 Specifies horizontal lines that are spaced 50 percent closer together than Horizontal and are twice the width of Horizontal.
DashedDownwardDiagonal30 Specifies dashed diagonal lines, that slant to the right from top points to bottom points.
DashedUpwardDiagonal31 Specifies dashed diagonal lines, that slant to the left from top points to bottom points.
DashedHorizontal32 Specifies dashed horizontal lines.
DashedVertical33 Specifies dashed vertical lines.
SmallConfetti34 Specifies a hatch that has the appearance of confetti.
LargeConfetti35 Specifies a hatch that has the appearance of confetti, and is composed of larger pieces than SmallConfetti.
ZigZag36 Specifies horizontal lines that are composed of zigzags.
Wave37 Specifies horizontal lines that are composed of tildes.
DiagonalBrick38 Specifies a hatch that has the appearance of layered bricks that slant to the left from top points to bottom points.
HorizontalBrick39 Specifies a hatch that has the appearance of horizontally layered bricks.
Weave40 Specifies a hatch that has the appearance of a woven material.
Plaid41 Specifies a hatch that has the appearance of a plaid material.
Divot42 Specifies a hatch that has the appearance of divots.
DottedGrid43 Specifies horizontal and vertical lines, each of which is composed of dots, that cross.
DottedDiamond44 Specifies forward diagonal and backward diagonal lines, each of which is composed of dots, that cross.
Shingle45 Specifies a hatch that has the appearance of diagonally layered shingles that slant to the right from top points to bottom points.
Trellis46 Specifies a hatch that has the appearance of a trellis.
Sphere47 Specifies a hatch that has the appearance of spheres laid adjacent to one another.
SmallGrid48 Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross.
SmallCheckerBoard49 Specifies a hatch that has the appearance of a checkerboard.
LargeCheckerBoard50 Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of SmallCheckerBoard.
OutlinedDiamond51 Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.
SolidDiamond52 Specifies a hatch that has the appearance of a checkerboard placed diagonally.
See Also