Package com.google.gwt.touch.client
Class Point
java.lang.Object
com.google.gwt.touch.client.Point
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDivide this pointPointby specified point and return the result.booleandoublegetX()Get the x value of the point.doublegetY()Get the y value of the point.inthashCode()Subtract the specifiedPointfrom this point and return the result.Multiple this pointPointby specified point and return the result.Add the specifiedPointto this point and return the result.toString()
-
Constructor Details
-
Point
public Point() -
Point
public Point(double x, double y) -
Point
-
-
Method Details
-
div
-
equals
-
getX
public double getX()Get the x value of the point.- Returns:
- the x value
-
getY
public double getY()Get the y value of the point.- Returns:
- the y value
-
hashCode
-
minus
-
mult
-
plus
-
toString
-