PathGradientBrush::PathGradientBrush(constGraphicsPath*) method (gdipluspath.h)

Creates a PathGradientBrush::PathGradientBrush object based on a GraphicsPath object.

Syntax

void PathGradientBrush(
  [in] const GraphicsPath *path
);

Parameters

[in] path

Type: const GraphicsPath*

Pointer to a GraphicsPath object that specifies the boundary path of the path gradient 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 gdipluspath.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Brushes and Filled Shapes

Creating a Path Gradient

Filling a Shape with a Color Gradient

GraphicsPath

LinearGradientBrush

PathGradientBrush