Question

A hatch pattern is made from two colors: one defined by the BackgroundColor, which fills the background and one for the lines that form the pattern over the background defined by the ForegroundColor property. The HatchStyle property defines what type of pattern the brush has and can be any value from the HatchStyle enumeration. There are more than fifty elements in the HatchStyle enumeration.

The following illustration shows an ellipse filled with a horizontal hatch pattern.

image

Just like for the colors defined in the Color class, I'd like to have a graphical list of all styles defined in HatchStyle, but found none in the MSDN. Do you know of such a overview?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top