android.gesture
Class GestureStroke

java.lang.Object
  extended by android.gesture.GestureStroke

public class GestureStroke
extends Object


Field Summary
 RectF boundingBox
           
 float length
           
 float[] points
           
 
Constructor Summary
GestureStroke(ArrayList<GesturePoint> points)
           
 
Method Summary
 void clearPath()
           
 Object clone()
           
 OrientedBoundingBox computeOrientedBoundingBox()
           
 Path getPath()
           
 Path toPath(float width, float height, int numSample)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

boundingBox

public final RectF boundingBox

length

public final float length

points

public final float[] points
Constructor Detail

GestureStroke

public GestureStroke(ArrayList<GesturePoint> points)
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

getPath

public Path getPath()

toPath

public Path toPath(float width,
                   float height,
                   int numSample)

clearPath

public void clearPath()

computeOrientedBoundingBox

public OrientedBoundingBox computeOrientedBoundingBox()


Copyright © 2008-2012. All Rights Reserved.