GraphicsPath::Clone method (gdipluspath.h)

The GraphicsPath::Clone method creates a new GraphicsPath object, and initializes it with the contents of this GraphicsPath object.

Syntax

GraphicsPath * Clone();

Return value

Type: GraphicsPath*

This method returns a pointer to the new GraphicsPath 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 gdipluspath.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Clipping with a Region

Constructing and Drawing Paths

Creating a Path Gradient

GraphicsPath

GraphicsPath Constructors

Paths