public static class Dimension2D.Double extends Dimension2D
Dimension2D.Double
Constructor and Description |
---|
Dimension2D.Double()
Creates a new Dimension2D object with zero width and height.
|
Dimension2D.Double(double width,
double height)
Creates a new Dimension2D object with the specified width and
height.
|
public Dimension2D.Double()
public Dimension2D.Double(double width, double height)
width
- Width.height
- 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
Copyright © 2009-2013. All Rights Reserved.