[]
Represents a rectangular brush with a hatch style, a foreground color, and a background color.
public class HatchBrush : Brush
Public Class HatchBrush
Inherits Brush
Name | Description |
---|---|
HatchBrush() | Initializes a new instance of the HatchBrush class using default values: black foreground, transparent background, Horizontal hatch style. |
HatchBrush(HatchBrush) | Creates a copy of a HatchBrush object. |
HatchBrush(HatchStyle) | Initializes a new instance of the HatchBrush class using specified hatch style, and default colors (black on transparent). |
Name | Description |
---|---|
BackColor | Gets or sets the color of spaces between the hatch lines drawn by this HatchBrush object. |
ForeColor | Gets or sets the color of hatch lines drawn by this HatchBrush object. |
Style | Gets or sets the hatch style of this HatchBrush object. |
Visible | Gets a value indicating whether the brush is actually visible. |
Name | Description |
---|---|
SameBrush(Brush) | Returns True if the specified brush is the same as the current brush. |