|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRectDouble
RectDouble Class
This class represents a rectangle with double coordinates
Field Summary | |
static double |
down
Y-coordinate of the rectangle bottom |
static double |
left
X-coordinate of the rectangle left side |
static double |
right
X-coordinate of the rectangle right side |
static double |
top
Y-coordinate of the rectangle top |
Constructor Summary | |
RectDouble(double top,
double left,
double down,
double right)
Constructs the rectangle |
Method Summary | |
double |
getCentreX()
Returns the X-coordinate of the rectangle center |
double |
getCentreY()
Returns the Y-coordinate of the rectangle center |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static double top
public static double down
public static double left
public static double right
Constructor Detail |
public RectDouble(double top, double left, double down, double right)
Method Detail |
public double getCentreX()
public double getCentreY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |