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

SolidBrush.Color Property

Gets/sets brush color.

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

Syntax

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

Property Value

RgbColor instance which specifies color of the solid brush. Draw attention, you can use only RGB colors during drawing.

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. From the other hand you can use it to emulate eraser tool functionality.

Default value is black color.

See Also

Reference