SolidBrush Constructor (Color)


Initializes a new SolidBrush object of the specified color.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

new : 
        color:Color -> SolidBrush


Type: System.Drawing.Color

A Color structure that represents the color of this brush.

This example is designed to be used with a Windows Form. To run this example, paste this code into a form and call the AddShadow method when handling the form's Paint event. Make sure the form contains a ListBox named listBox1.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top