PathGradientBrush::PathGradientBrush(constPointF*,INT,WrapMode) method (gdipluspath.h)

Creates a PathGradientBrush object based on an array of points. Initializes the wrap mode of the path gradient brush.

Syntax

void PathGradientBrush(
  [in] const PointF *points,
  [in] INT          count,
  [in] WrapMode     wrapMode
);

Parameters

[in] points

Type: const PointF*

Pointer to an array of points that specifies the boundary path of the path gradient brush.

[in] count

Type: INT

Integer that specifies the number of elements in the points array.

[in] wrapMode

Type: WrapMode

Optional. Element of the WrapMode enumeration that specifies how areas painted with the path gradient brush will be tiled. The default value is WrapModeClamp.

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

PointF