Charting for WinForms Programmer's Guide
HatchBrush Members
Constructors Properties Methods
 


HatchBrush objects represent rectangular brushes with a hatch style, a foreground color, and a background color that are used to fill the interiors of geometric shapes.

The following tables list the members exposed by the HatchBrush type.

 Public Constructors

  Name Description

HatchBrush

Overloaded. Initialize a new instance of the HatchBrush class with the specified attributes.

 Public Properties

  Name Description

BackgroundColor

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

ForegroundColor

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

HatchStyle

Gets or sets the hatch style of this brush.

 Public Methods

  Name Description

Clone

Creates an exact copy of this brush.

CreateGdiBrush

Returns an instance of the System.Drawing.Drawing2D.HatchBrush class that can be used to paint in a GDI+ Graphics object.

GetObjectData

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the brush.

ToString

Returns "Hatch".

 See Also

HatchBrush Class
MindFusion.Drawing Namespace