|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.geom.Dimension2D org.geotools.resources.geometry.XDimension2D.Double
Implement double version of Dimension2D
. This class is
temporary; it will disappear if JavaSoft implements
and .
Field Summary | |
double |
height
The height. |
double |
width
The width. |
Constructor Summary | |
XDimension2D.Double()
Construct a new dimension initialized to (0,0). |
|
XDimension2D.Double(double w,
double h)
Construct a new dimension with the specified values. |
Method Summary | |
double |
getHeight()
Returns the height. |
double |
getWidth()
Returns the width. |
void |
setSize(double w,
double h)
Set width and height for this dimension. |
java.lang.String |
toString()
Returns a string representation of this dimension. |
Methods inherited from class java.awt.geom.Dimension2D |
clone, setSize |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public double width
public double height
Constructor Detail |
public XDimension2D.Double()
public XDimension2D.Double(double w, double h)
w
- The width.h
- The height.Method Detail |
public void setSize(double w, double h)
w
- The width.h
- The height.public double getWidth()
public double getHeight()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |