Class HatchBrush
HatchBrush class
Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.
public sealed class HatchBrush : Brush
Constructors
| Name | Description | 
|---|
| HatchBrush(HatchStyle, Color) | Initializes a new instance of the HatchBrushclass with the specified HatchStyle enumeration and foreground color. | 
| HatchBrush(HatchStyle, Color, Color) | Initializes a new instance of the HatchBrushclass with the specified HatchStyle enumeration, foreground color, and background color. | 
Properties
| Name | Description | 
|---|
| BackgroundColor { get; } | Gets the color of spaces between the hatch lines drawn by this HatchBrush object. | 
| ForegroundColor { get; } | Gets the color of hatch lines drawn by this HatchBrush object. | 
| HatchStyle { get; } | Gets the hatch style of this HatchBrush object. | 
Methods
| Name | Description | 
|---|
| override Clone() | Creates an exact copy of this HatchBrush object. | 
| Dispose() | Releases all resources used by this Brush object. | 
See Also