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

Brush Class

Base class for Graphics Mill for .NET brushes.

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

Syntax

Visual Basic
Public MustInherit Class Brush _
	Implements ICloneable
C#
public abstract class Brush : ICloneable

Remarks

This class is abstract, so you cannot directly instantiate it. You should create some of derived classes (e.g. SolidBrush or HatchBrush). You can also cast some brush classes from System.Drawing namespace (and vice versa).

You can get an invisible brush (which actually do nothing) using Empty property. To check whether the brush is empty, use property IsEmpty.

Inheritance Hierarchy

Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

Object Model





See Also

Reference