語言

GestureStroke.ToPath(Single, Single, Int32) 方法

定義

將筆劃轉換為指定點數的路徑。

[Android.Runtime.Register("toPath", "(FFI)Landroid/graphics/Path;", "GetToPath_FFIHandler")]
public virtual Android.Graphics.Path? ToPath(float width, float height, int numSample);
[<Android.Runtime.Register("toPath", "(FFI)Landroid/graphics/Path;", "GetToPath_FFIHandler")>]
abstract member ToPath : single * single * int -> Android.Graphics.Path
override this.ToPath : single * single * int -> Android.Graphics.Path

參數

width
Single

目標路徑邊界框的寬度

height
Single

目標路徑的邊界盒高度

numSample
Int32

所需得分數

傳回

路徑

屬性

備註

將筆劃轉換為指定點數的路徑。

Java 文件 android.gesture.GestureStroke.toPath(float, float, int)。

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

適用於