PathGradientBrush::P athGradientBrush (constPointF*,INT,WrapMode) 方法 (gdipluspath.h)

根據點陣列建立 PathGradientBrush 物件。 初始化路徑漸層筆刷的換行模式。

語法

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

參數

[in] points

類型:const PointF*

指定路徑漸層筆刷界限路徑之點陣列的指標。

[in] count

類型: INT

整數,指定 陣列中的專案數目。

[in] wrapMode

類型: WrapMode

選擇性。 WrapMode列舉的 元素,指定如何以路徑漸層筆刷繪製區域。 預設值為 WrapModeClamp。

傳回值

需求

   
最低支援的用戶端 Windows XP、Windows 2000 Professional [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限傳統型應用程式]
目標平台 Windows
標頭 gdipluspath.h (包含 Gdiplus.h)
程式庫 Gdiplus.lib
Dll Gdiplus.dll

另請參閱

筆刷和填滿的圖形

建立路徑漸層

以色彩漸層填滿圖形

GraphicsPath

LinearGradientBrush \(英文\)

PathGradientBrush

PointF