|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.geom.Dimension2D
org.apache.xmlgraphics.java2d.Dimension2DDouble
public class Dimension2DDouble
Subclass of Dimension2D which takes double values.
Constructor Summary | |
---|---|
Dimension2DDouble()
Default constructor. |
|
Dimension2DDouble(double width,
double height)
Main constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
double |
getHeight()
|
double |
getWidth()
|
int |
hashCode()
|
void |
setSize(double w,
double h)
|
java.lang.String |
toString()
|
Methods inherited from class java.awt.geom.Dimension2D |
---|
clone, setSize |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Dimension2DDouble()
public Dimension2DDouble(double width, double height)
width
- initial widthheight
- initial heightMethod Detail |
---|
public double getWidth()
getWidth
in class java.awt.geom.Dimension2D
public double getHeight()
getHeight
in class java.awt.geom.Dimension2D
public void setSize(double w, double h)
setSize
in class java.awt.geom.Dimension2D
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |