Xceed Words for .NET v4.0 Documentation
Brush Constructor


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Brush Class : Brush Constructor
The Color that will be used to create the Brush.
Creates a new Brush object from a Color.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color _
)
'Usage
 
Dim color As Color
 
Dim instance As New Brush(color)
public Brush( 
   Color color
)

Parameters

color
The Color that will be used to create the Brush.
Remarks

In .NET5+, this will create a SKPaint.

In .NET Framework, this will create a System.Drawing.SolidBrush.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Brush Class
Brush Members