Android.Gestures.GestureUtils.SpatialSampling Method
Samples the gesture spatially by rendering the gesture into a 2D grayscale bitmap.

Syntax

[Android.Runtime.Register("spatialSampling", "(Landroid/gesture/Gesture;IZ)[F", "")]
public static float[] SpatialSampling (Gesture gesture, int bitmapSize, bool keepAspectRatio)

Parameters

gesture
the gesture to be sampled
bitmapSize
the size of the bitmap
keepAspectRatio
if the scaling should keep the gesture's aspect ratio

Returns

Documentation for this section has not yet been entered.

Remarks

Samples the gesture spatially by rendering the gesture into a 2D grayscale bitmap. Scales the gesture to fit the size of the bitmap.

[Android Documentation]

Requirements

Namespace: Android.Gestures
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8