|
xmlgraphics-commons 1.5rc1 | |||||||||
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(Object obj)
|
double |
getHeight()
|
double |
getWidth()
|
int |
hashCode()
|
void |
setSize(double w,
double h)
|
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 Dimension2D
public double getHeight()
getHeight
in class Dimension2D
public void setSize(double w, double h)
setSize
in class Dimension2D
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
xmlgraphics-commons 1.5rc1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |