GraphicsPath::GetLastPoint 方法 (gdipluspath.h)

GraphicsPath::GetLastPoint方法會取得此路徑中最後一個圖的結束點。

語法

Status GetLastPoint(
  [out] PointF *lastPoint
);

參數

[out] lastPoint

類型: PointF*

接收最後一個點之 PointF 物件的指標。

傳回值

類型: 狀態

如果方法成功,它會傳回 Ok,這是 Status 列舉的元素。

如果方法失敗,它會傳回 Status 列舉的其他其中一個專案。

需求

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

另請參閱

AddLines 方法

使用區域裁剪

建構和繪製路徑

建立路徑漸層

GraphicsPath

路徑

PointF