|
||||||||||
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.Float
public static class Rectangle2D.Float
Inner class that implements Rectangle2D
for
type float
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class gov.noaa.pmel.util.Rectangle2D |
---|
Rectangle2D.Double, Rectangle2D.Float |
Field Summary | |
---|---|
float |
height
height of rectangle |
float |
width
width of rectangle |
float |
x
x coordinate of rectangle |
float |
y
y coordinate of rectangle |
Constructor Summary | |
---|---|
Rectangle2D.Float()
Default constructor |
|
Rectangle2D.Float(float width,
float height)
|
|
Rectangle2D.Float(float x,
float y,
float width,
float height)
|
|
Rectangle2D.Float(Rectangle2D.Float r)
|
Method Summary | |
---|---|
Rectangle2D |
copy()
Make a copy of the Rectangle2D . |
boolean |
equals(java.lang.Object r)
|
boolean |
equals(Rectangle2D.Float r)
Test for equality. |
float |
getHeight()
|
float |
getWidth()
|
float |
getX()
|
float |
getY()
|
void |
setHeight(float h)
|
void |
setWidth(float w)
|
void |
setX(float x)
|
void |
setY(float y)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public float height
public float width
public float x
public float y
Constructor Detail |
---|
public Rectangle2D.Float()
public Rectangle2D.Float(float x, float y, float width, float height)
public Rectangle2D.Float(float width, float height)
public Rectangle2D.Float(Rectangle2D.Float r)
Method Detail |
---|
public boolean equals(Rectangle2D.Float 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(float w)
public float getWidth()
public void setHeight(float h)
public float getHeight()
public void setX(float x)
public float getX()
public void setY(float y)
public float 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 |