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