API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.graphics.Point

Added Constructors
Point(Point)  
 

Removed Methods
void add(Point) Add v's coordinates to the point's
float crossProduct(Point, Point) Returns the cross product of a and b, treating them as 2D vectors
Point difference(Point, Point) Returns a new point whose coordinates are the difference between a's and b's (a - b)
float distance(Point, Point) Returns the euclidian distance between a and b
float dotProduct(Point, Point) Returns the dot product of a and b, treating them as 2D vectors
float length(float, float) Returns the euclidian distance from (0,0) to (x,y)
void rotateCCW() Rotate the point counter-clockwise by 90 degrees, writing the answer back into the point.
void rotateCW() Rotate the point clockwise by 90 degrees, writing the answer back into the point.
void subtract(Point) Subtract v's coordinates from the point's
Point sum(Point, Point) Returns a new point whose coordinates are the sum of a's and b's (a + b)
 

Added Methods
boolean equals(Object)  
void offset(int, int) Offset the point's coordinates by dx, dy
 

Changed Methods
int hashCode() Method was inherited from java.lang.Object, but is now defined locally.  
String toString() Method was inherited from java.lang.Object, but is now defined locally.  
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff