cz.cuni.amis.utils
Class Dimension2D_Double
java.lang.Object
java.awt.geom.Dimension2D
cz.cuni.amis.utils.Dimension2D_Double
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Dimension2D_Double
- extends java.awt.geom.Dimension2D
- implements java.io.Serializable
WHY Dimension2D hasn't default Float and Double implementation?
- See Also:
- Serialized Form
Field Summary |
protected double |
height
|
protected double |
width
|
Methods inherited from class java.awt.geom.Dimension2D |
clone, setSize |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
width
protected double width
height
protected double height
Dimension2D_Double
public Dimension2D_Double()
Dimension2D_Double
public Dimension2D_Double(double w,
double h)
getHeight
public double getHeight()
- Specified by:
getHeight
in class java.awt.geom.Dimension2D
getWidth
public double getWidth()
- Specified by:
getWidth
in class java.awt.geom.Dimension2D
setSize
public void setSize(double width,
double height)
- Specified by:
setSize
in class java.awt.geom.Dimension2D