Enum HatchStyle
HatchStyle enumeration
Specifies the different patterns available for System.Drawing.Drawing2D.HatchBrush objects.
public enum HatchStyle
Values
| Name | Value | Description |
|---|---|---|
| Horizontal | 0 | A pattern of horizontal lines. |
| Min | 0 | Specifies hatch style Aspose.Page.Drawing.Drawing2D.HatchStyle.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 Aspose.Page.Drawing.Drawing2D.HatchStyle.Cross. |
| Max | 4 | Specifies hatch style Aspose.Page.Drawing.Drawing2D.HatchStyle.SolidDiamond. |
| 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:100 |
| Percent10 | 7 | Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:100 |
| Percent20 | 8 | Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:100 |
| Percent25 | 9 | Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:100 |
| Percent30 | 10 | Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:100 |
| Percent40 | 11 | Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:100 |
| Percent50 | 12 | Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:100 |
| Percent60 | 13 | Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:100 |
| Percent70 | 14 | Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:100 |
| Percent75 | 15 | Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:100 |
| 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:100 |
| LightDownwardDiagonal | 18 | Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than Aspose.Page.Drawing.Drawing2D.HatchStyle.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 Aspose.Page.Drawing.Drawing2D.HatchStyle.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 Aspose.Page.Drawing.Drawing2D.HatchStyle.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 Aspose.Page.Drawing.Drawing2D.HatchStyle.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 Aspose.Page.Drawing.Drawing2D.HatchStyle.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 Aspose.Page.Drawing.Drawing2D.HatchStyle.BackwardDiagonal, and are triple its width, but are not antialiased |
| LightVertical | 24 | Specifies vertical lines that are spaced 50 percent closer together than Aspose.Page.Drawing.Drawing2D.HatchStyle.Vertical. |
| LightHorizontal | 25 | Specifies horizontal lines that are spaced 50 percent closer together than Aspose.Page.Drawing.Drawing2D.HatchStyle.Horizontal. |
| NarrowVertical | 26 | Specifies vertical lines that are spaced 75 percent closer together than hatch style Aspose.Page.Drawing.Drawing2D.HatchStyle.Vertical (or 25 percent closer together than System |
| NarrowHorizontal | 27 | Specifies horizontal lines that are spaced 75 percent closer together than hatch style Aspose.Page.Drawing.Drawing2D.HatchStyle.Horizontal (or 25 percent closer together than System |
| DarkVertical | 28 | Specifies vertical lines that are spaced 50 percent closer together than Aspose.Page.Drawing.Drawing2D.HatchStyle.Vertical and are twice its width |
| DarkHorizontal | 29 | Specifies horizontal lines that are spaced 50 percent closer together than Aspose.Page.Drawing.Drawing2D.HatchStyle.Horizontal and are twice the width of System |
| 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 System |
| 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 System |
| 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 System |
| 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. |
See Also
- namespace Aspose.Page.Drawing.Drawing2D
- assembly Aspose.Page