HatchBrush.BackgroundColor Property

Gets or sets a background color for this hatch brush.

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

Syntax

C#
public RgbColor BackgroundColor { get; set; }

Property Value

A RgbColor that represents the background color for this HatchBrush. The default value is white color.

Remarks

This value is used only if TransparentBackground property is set to false.

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.

See Also

Reference