Brush::Clone method (gdiplusbrush.h)

The Brush::Clone method creates a new Brush object based on this brush.

Syntax

Brush * Clone();

Return value

Type: Brush*

This method returns a pointer to the new Brush object.

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

Brush

Brushes and Filled Shapes

HatchBrush

LinearGradientBrush

PathGradientBrush

SolidBrush

TextureBrush

Using a Brush to Fill Shapes