|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.touch.client.Point
public class Point
A simple point class.
Constructor Summary | |
---|---|
Point()
|
|
Point(double x,
double y)
|
|
Point(Point c)
|
Method Summary | |
---|---|
Point |
div(Point c)
Divide this point Point by specified point and return the result. |
boolean |
equals(java.lang.Object obj)
|
double |
getX()
Get the x value of the point. |
double |
getY()
Get the y value of the point. |
int |
hashCode()
|
Point |
minus(Point c)
Subtract the specified Point from this point and return the result. |
Point |
mult(Point c)
Multiple this point Point by specified point and return the result. |
Point |
plus(Point c)
Add the specified Point to this point and return the result. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Point()
public Point(double x, double y)
public Point(Point c)
Method Detail |
---|
public Point div(Point c)
Point
by specified point and return the result.
Does not modified this Point
.
c
- the value by which to divide
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public double getX()
public double getY()
public int hashCode()
hashCode
in class java.lang.Object
public Point minus(Point c)
Point
from this point and return the result.
Does not modified this Point
.
c
- the value to subtract
public Point mult(Point c)
Point
by specified point and return the result.
Does not modified this Point
.
c
- the value by which to multiply
public Point plus(Point c)
Point
to this point and return the result. Does
not modified this Point
.
c
- the value to add
public java.lang.String toString()
toString
in class java.lang.Object
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |