|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.pmel.util.Rectangle2D
gov.noaa.pmel.util.Rectangle2D.Double
public static class Rectangle2D.Double
Inner class that implements Rectangle2D
for
type double
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class gov.noaa.pmel.util.Rectangle2D |
---|
Rectangle2D.Double, Rectangle2D.Float |
Field Summary | |
---|---|
double |
height
height of rectangle |
double |
width
width of rectangle |
double |
x
x coordinate of rectangle |
double |
y
y coordinate of rectangle |
Constructor Summary | |
---|---|
Rectangle2D.Double()
Default constructor |
|
Rectangle2D.Double(double width,
double height)
|
|
Rectangle2D.Double(double x,
double y,
double width,
double height)
|
|
Rectangle2D.Double(Rectangle2D.Double r)
|
Method Summary | |
---|---|
Rectangle2D |
copy()
Make a copy of the Rectangle2D . |
boolean |
equals(java.lang.Object r)
|
boolean |
equals(Rectangle2D.Double r)
Test for equality. |
double |
getHeight()
|
double |
getWidth()
|
double |
getX()
|
double |
getY()
|
void |
setHeight(double h)
|
void |
setWidth(double w)
|
void |
setX(double x)
|
void |
setY(double y)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double height
public double width
public double x
public double y
Constructor Detail |
---|
public Rectangle2D.Double()
public Rectangle2D.Double(double x, double y, double width, double height)
public Rectangle2D.Double(double width, double height)
public Rectangle2D.Double(Rectangle2D.Double r)
Method Detail |
---|
public boolean equals(Rectangle2D.Double r)
public boolean equals(java.lang.Object r)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void setWidth(double w)
public double getWidth()
public void setHeight(double h)
public double getHeight()
public void setX(double x)
public double getX()
public void setY(double y)
public double getY()
public Rectangle2D copy()
Rectangle2D
.
copy
in class Rectangle2D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |