GestureUtils.TemporalSampling(GestureStroke, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將筆劃在時間上取樣成給定數量的均勻分布點。
[Android.Runtime.Register("temporalSampling", "(Landroid/gesture/GestureStroke;I)[F", "")]
public static float[]? TemporalSampling(Android.Gestures.GestureStroke? stroke, int numPoints);
[<Android.Runtime.Register("temporalSampling", "(Landroid/gesture/GestureStroke;I)[F", "")>]
static member TemporalSampling : Android.Gestures.GestureStroke * int -> single[]
參數
- stroke
- GestureStroke
要取樣的手勢筆劃
- numPoints
- Int32
分數
傳回
Single[]
取樣點形式為 [x1, y1, x2, y2, ..., xn, yn]
- 屬性
備註
將筆劃在時間上取樣成給定數量的均勻分布點。
Java 文件 android.gesture.GestureUtils.temporalSampling(android.gesture.GestureStroke, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。