語言

Paint.GetFillPath(Path, Path) 方法

定義

將任何/所有效果(路徑效應、筆觸)套用到 src,並以 DST 回傳結果。

[Android.Runtime.Register("getFillPath", "(Landroid/graphics/Path;Landroid/graphics/Path;)Z", "GetGetFillPath_Landroid_graphics_Path_Landroid_graphics_Path_Handler")]
public virtual bool GetFillPath(Android.Graphics.Path? src, Android.Graphics.Path? dst);
[<Android.Runtime.Register("getFillPath", "(Landroid/graphics/Path;Landroid/graphics/Path;)Z", "GetGetFillPath_Landroid_graphics_Path_Landroid_graphics_Path_Handler")>]
abstract member GetFillPath : Android.Graphics.Path * Android.Graphics.Path -> bool
override this.GetFillPath : Android.Graphics.Path * Android.Graphics.Path -> bool

參數

src
Path

輸入路徑

dst
Path

輸出路徑(可能與 SRC 相同)

傳回

若路徑應填滿,則為 true;若以髮線(width == 0)繪製,則為 false。

屬性

備註

將任何/所有效果(路徑效應、筆觸)套用到 src,並以 DST 回傳結果。 結果是,用這種顏料繪製 SRC 會和用預設 DST 畫(至少從幾何角度來看)是一樣的。

Java 文件 android.graphics.Paint.getFillPath(android.graphics.Path, android.graphics.Path)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於