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

HatchBrush.ForegroundColor Property

Gets/sets foreground color for the hatch brush. It is used to draw the hatch itself.

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

Syntax

Visual Basic
Public Property ForegroundColor As RgbColor
C#
public RgbColor ForegroundColor { get; set; }

Property Value

Foreground color for the hatch brush.

Remarks

Classic GDI does not handle transparency, so it makes no sense to specify alpha channel for this color.

Note

For the same reason it is not recommended to draw with GDI on the images with 32-bit ARGB pixel format. It will fill alpha channel (which is treated with GDI as meaningless) with zeros.

Default value is a black color.

See Also

Reference