|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.geom.Dimension2D
com.sun.electric.database.geometry.Dimension2D
com.sun.electric.database.geometry.Dimension2D.Double
public static class Dimension2D.Double
Class to define a Double-precision Dimension object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.electric.database.geometry.Dimension2D |
---|
Dimension2D.Double |
Constructor Summary | |
---|---|
Dimension2D.Double()
Constructor to build a Dimension2D.Double with size 0x0. |
|
Dimension2D.Double(Dimension2D d)
Constructor to build a Dimension2D.Double. |
|
Dimension2D.Double(double width,
double height)
Constructor to build a Dimension2D.Double. |
Method Summary | |
---|---|
double |
getHeight()
Method to return the Y size of this Dimension2D.Double. |
double |
getWidth()
Method to return the X size of this Dimension2D.Double. |
void |
setSize(java.awt.geom.Dimension2D d)
Method to set the size of this Dimension2D.Double. |
void |
setSize(double width,
double height)
Method to set the size of this Dimension2D.Double. |
java.lang.String |
toString()
Returns a printable version of this Dimension2D.Double. |
Methods inherited from class java.awt.geom.Dimension2D |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Dimension2D.Double()
public Dimension2D.Double(Dimension2D d)
d
- the size of this Dimension2D.Double.public Dimension2D.Double(double width, double height)
width
- the width of this Dimension2D.Double.height
- the height of this Dimension2D.Double.Method Detail |
---|
public double getHeight()
getHeight
in class Dimension2D
public double getWidth()
getWidth
in class Dimension2D
public void setSize(java.awt.geom.Dimension2D d)
setSize
in class Dimension2D
public void setSize(double width, double height)
setSize
in class Dimension2D
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |