public class DoubleDimension extends Dimension2D
Constructor and Description |
---|
DoubleDimension(double width,
double height) |
Modifier and Type | Method and Description |
---|---|
double |
getHeight() |
double |
getWidth() |
void |
setSize(double width,
double height) |
clone, setSize
public DoubleDimension(double width, double height)
public double getHeight()
getHeight
in class Dimension2D
public double getWidth()
getWidth
in class Dimension2D
public void setSize(double width, double height)
setSize
in class Dimension2D