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

HatchBrush Constructor (HatchStyle, RgbColor, 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, _
	backColor As RgbColor _
)
C#
public HatchBrush(
	HatchStyle hatchStyle,
	RgbColor foreColor,
	RgbColor backColor
)

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.
backColor

Type: Aurigma.GraphicsMill.RgbColor

RgbColor value specifying background color of the brush. You can change this value later through property BackgroundColor.

Remarks

When you create brush with this constructor, background is enabled. You can change this later by setting TransparentBackground property to true.

See Also

Reference