PathGradientBrush::P athGradientBrush (constGraphicsPath*) 方法 (gdipluspath.h)

根據 GraphicsPath 物件建立 PathGradientBrush::P athGradientBrush 物件。

語法

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

參數

[in] path

類型: const GraphicsPath*

GraphicsPath 物件的指標,指定路徑漸層筆刷的界限路徑。

傳回值

規格需求

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

另請參閱

筆刷和填滿的圖形

建立路徑漸層

使用色彩漸層填滿圖形

GraphicsPath

LinearGradientBrush \(英文\)

PathGradientBrush