view
Class DoubleDimension
java.lang.Object
java.awt.geom.Dimension2D
view.DoubleDimension
- All Implemented Interfaces:
- Cloneable
public class DoubleDimension
- extends Dimension2D
A class that allows storing of a dimension in double format.
|
Field Summary |
(package private) double |
height
|
(package private) double |
width
|
width
double width
height
double height
DoubleDimension
public DoubleDimension(double w,
double h)
setSize
public void setSize(double w,
double h)
- Specified by:
setSize in class Dimension2D
getHeight
public double getHeight()
- Specified by:
getHeight in class Dimension2D
getWidth
public double getWidth()
- Specified by:
getWidth in class Dimension2D