基于点数组创建 PathGradientBrush::P athGradientBrush 对象。 初始化路径渐变画笔的环绕模式。
语法
void PathGradientBrush(
  [in] const Point *points,
  [in] INT         count,
  [in] WrapMode    wrapMode
);
参数
[in] points
类型: const Point*
指向点数组的指针,该数组指定路径渐变画笔的边界路径。
[in] count
类型: INT
指定 点 数组中的元素数的整数。
[in] wrapMode
类型: WrapMode
可选。 WrapMode 枚举的元素,指定如何使用路径渐变画笔绘制的区域平铺。 默认值为 WrapModeClamp。
返回值
无
要求
| 要求 | 值 | 
|---|---|
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] | 
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] | 
| 目标平台 | Windows | 
| 标头 | gdipluspath.h (包括 Gdiplus.h) | 
| Library | Gdiplus.lib | 
| DLL | Gdiplus.dll |