HatchBrush Constructor (HatchStyle, RgbColor)

Initializes a new instance of the HatchBrush class using the specified style and foreground color.

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

Syntax

C#
public HatchBrush(
	HatchStyle hatchStyle,
	RgbColor foreColor
)

Parameters

hatchStyle

Type: Aurigma.GraphicsMill.Drawing.HatchStyle

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

Type: Aurigma.GraphicsMill.RgbColor

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

Remarks

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

See Also

Reference