SolidBrush::SolidBrush(constColor&) method (gdiplusbrush.h)

Creates a SolidBrush object based on a color.

Syntax

void SolidBrush(
  [in, ref] const Color & color
);

Parameters

[in, ref] color

Type: const Color

Reference to a Color object that specifies the initial color of this solid brush.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusbrush.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Brushes and Filled Shapes

Color

SolidBrush

Using a Brush to Fill Shapes