语言

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文档android.gesture.GestureUtils.temporalSampling(android.gesture.GestureStroke, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于