HatchBrush Constructor (HatchStyle, RgbColor, RgbColor)

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

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

Syntax

C#
public HatchBrush(
	HatchStyle hatchStyle,
	RgbColor foreColor,
	RgbColor backColor
)

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

Type: Aurigma.GraphicsMill.RgbColor

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

Remarks

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

See Also

Reference