[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.HatchBrush

Class HatchBrush

Namespace
GrapeCity.Documents.Drawing
Assembly
GcDocs.Imaging.dll

Represents a rectangular brush with a hatch style, a foreground color, and a background color.

public class HatchBrush : Brush
Inheritance
object
HatchBrush
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

HatchBrush()

Initializes a new instance of the HatchBrush class using default values: black foreground, transparent background, Horizontal hatch style.

public HatchBrush()

HatchBrush(HatchBrush)

Creates a copy of a HatchBrush object.

public HatchBrush(HatchBrush source)

Parameters

source HatchBrush

HatchBrush(HatchStyle)

Initializes a new instance of the HatchBrush class using specified hatch style, and default colors (black on transparent).

public HatchBrush(HatchStyle style)

Parameters

style HatchStyle

The hatch style to use.

Properties

BackColor

Gets or sets the color of spaces between the hatch lines drawn by this HatchBrush object.

public Color BackColor { get; set; }

Property Value

System.Drawing.Color

ForeColor

Gets or sets the color of hatch lines drawn by this HatchBrush object.

public Color ForeColor { get; set; }

Property Value

System.Drawing.Color

Style

Gets or sets the hatch style of this HatchBrush object.

public HatchStyle Style { get; set; }

Property Value

HatchStyle

Visible

Gets a value indicating whether the brush is actually visible.

public override bool Visible { get; }

Property Value

bool

Methods

SameBrush(Brush)

Returns True if the specified brush is the same as the current brush.

protected override bool SameBrush(Brush brush)

Parameters

brush Brush

Returns

bool