android.gesture
Class GestureUtils
java.lang.Object
android.gesture.GestureUtils
public final class GestureUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spatialSampling
public static float[] spatialSampling(Gesture gesture,
int bitmapSize)
spatialSampling
public static float[] spatialSampling(Gesture gesture,
int bitmapSize,
boolean keepAspectRatio)
temporalSampling
public static float[] temporalSampling(GestureStroke stroke,
int numPoints)
computeOrientedBoundingBox
public static OrientedBoundingBox computeOrientedBoundingBox(ArrayList<GesturePoint> originalPoints)
computeOrientedBoundingBox
public static OrientedBoundingBox computeOrientedBoundingBox(float[] originalPoints)
Copyright © 2008-2012. All Rights Reserved.