[]
Represents a rectangular brush with a hatch style, a foreground color, and a background color.
public class HatchBrush : Brush
Initializes a new instance of the HatchBrush class using default values: black foreground, transparent background, Horizontal hatch style.
public HatchBrush()
Creates a copy of a HatchBrush object.
public HatchBrush(HatchBrush source)
source
HatchBrushInitializes a new instance of the HatchBrush class using specified hatch style, and default colors (black on transparent).
public HatchBrush(HatchStyle style)
style
HatchStyleThe hatch style to use.
Gets or sets the color of spaces between the hatch lines drawn by this HatchBrush object.
public Color BackColor { get; set; }
Gets or sets the color of hatch lines drawn by this HatchBrush object.
public Color ForeColor { get; set; }
Gets or sets the hatch style of this HatchBrush object.
public HatchStyle Style { get; set; }
Gets a value indicating whether the brush is actually visible.
public override bool Visible { get; }
Returns True if the specified brush is the same as the current brush.
protected override bool SameBrush(Brush brush)
brush
Brush