CustomLineCap::CustomLineCap (constGraphicsPath*,constGraphicsPath*,LineCap,REAL) 方法 (gdiplusheaders.h)
建立 CustomLineCap::CustomLineCap 物件。
語法
void CustomLineCap(
[in] const GraphicsPath *fillPath,
[in] const GraphicsPath *strokePath,
[in] LineCap baseCap,
[in] REAL baseInset
);
參數
[in] fillPath
類型:const GraphicsPath*
路徑的指標。
[in] strokePath
類型:const GraphicsPath*
路徑的指標。
[in] baseCap
類型: LineCap
選擇性。 LineCap列舉的 元素,指定將使用的行頂點。 預設值為 LineCapFlat。
[in] baseInset
類型: REAL
選擇性。 預設值為 0。
傳回值
無
備註
fillPath和strokePath參數不能同時使用。 您應該將 Null 傳遞至這兩個參數的其中一個。 如果您將非 Null 值傳遞至這兩個參數,則會忽略 fillPath 。
CustomLineCap::CustomLineCap類別會使用線圈填滿模式,不論針對傳遞至CustomLineCap::CustomLineCap建構函式之GraphicsPath物件所設定的填滿模式為何。
需求
最低支援的用戶端 | Windows XP、Windows 2000 Professional [僅限桌面應用程式] |
最低支援的伺服器 | Windows 2000 Server [僅限桌面應用程式] |
目標平台 | Windows |
標頭 | gdiplusheaders.h (包含 Gdiplus.h) |
程式庫 | Gdiplus.lib |
Dll | Gdiplus.dll |