GestureUtils.TemporalSampling(GestureStroke, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Samples a stroke temporally into a given number of evenly-distributed points.
[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[]
Parameters
- stroke
- GestureStroke
the gesture stroke to be sampled
- numPoints
- Int32
the number of points
Returns
the sampled points in the form of [x1, y1, x2, y2, ..., xn, yn]
- Attributes
Remarks
Samples a stroke temporally into a given number of evenly-distributed points.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.