This documentation is for the old version. Go to the latest Graphics Mill docs

HatchBrush Constructor (HatchStyle, RgbColor)

Creates new instance of the HatchBrush class. Here you construct hatch brush from hatch style and foreground color.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	hatchStyle As HatchStyle, _
	foreColor As RgbColor _
)
C#
public HatchBrush(
	HatchStyle hatchStyle,
	RgbColor foreColor
)

Parameters

hatchStyle

Type: Aurigma.GraphicsMill.Drawing.HatchStyle

HatchStyle value specifying hatch style of the brush. You can change this value later through property HatchStyle.
foreColor

Type: Aurigma.GraphicsMill.RgbColor

RgbColor value specifying foreground color of the brush. You can change this value later through property ForegroundColor.

Remarks

When you create brush with this constructor, background is disabled. You can change this later by setting TransparentBackground property to false and specifying necessary value to the BackgroundColor.

See Also

Reference