| Constructor and Description |
|---|
XySize(double width,
double height)
Creates a new XySize object from the width and height given.
|
public XySize(double width,
double height)
width - width of areaheight - height of areapublic java.lang.String toString()
toString in class java.lang.Objectpublic double getWidth()
public double getHeight()
public double getArea()