GestureUtils.TemporalSampling(GestureStroke, Int32) メソッド

定義

ストロークを、特定の数の均等に分散されたポイントに一時的にサンプリングします。

[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ドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象