Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.
See Also: HatchBrush Members
A hatch pattern is made from two colors: one defined by the HatchBrush.BackgroundColor, which fills the background and one for the lines that form the pattern over the background defined by the HatchBrush.ForegroundColor property. The HatchBrush.HatchStyle property defines what type of pattern the brush has and can be any value from the System.Drawing.Drawing2D.HatchStyle enumeration. There are more than fifty elements in the System.Drawing.Drawing2D.HatchStyle enumeration.
The following illustration shows an ellipse filled with a horizontal hatch pattern.