HatchStyle Enum
The tiles of 8 by 8 pixels a hatch PatternBrush repeats: lines, or a fraction of the pixels.
public enum HatchStyleRemarks
The pixel (x, y) of the tile, from its top-left corner, has the foreground color where the style says so, and the background color elsewhere. The percentages light the pixels of lowest rank in the ordered dither matrix of 8 by 8 (Bayer): round(64 p / 100) pixels for p percent, spread evenly over the tile, each one also lit by every higher percentage.
Fields
| Name | Value | Description |
|---|---|---|
Horizontal | 0 | A horizontal line: the pixels of the row 0. |
Vertical | 1 | A vertical line: the pixels of the column 0. |
Cross | 2 | A horizontal line and a vertical line: the pixels of the row 0 and of the column 0. |
ForwardDiagonal | 3 | A line from the top-left corner to the bottom-right corner: the pixels where x = y. |
BackwardDiagonal | 4 | A line from the top-right corner to the bottom-left corner: the pixels where x + y = 7. |
DiagonalCross | 5 | Both diagonals: the pixels of HatchStyle.ForwardDiagonal and of HatchStyle.BackwardDiagonal. |
Percent10 | 6 | 6 pixels of the 64 (9.4%). |
Percent20 | 7 | 13 pixels of the 64 (20.3%). |
Percent30 | 8 | 19 pixels of the 64 (29.7%). |
Percent40 | 9 | 26 pixels of the 64 (40.6%). |
Percent50 | 10 | 32 pixels of the 64, a checkerboard (50%). |
Percent60 | 11 | 38 pixels of the 64 (59.4%). |
Percent70 | 12 | 45 pixels of the 64 (70.3%). |
Percent80 | 13 | 51 pixels of the 64 (79.7%). |
Percent90 | 14 | 58 pixels of the 64 (90.6%). |