|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.geometry.xy.XySize
public class XySize
A rectangular size in (x, y) space.
Copyright 2007 Partner Software, Inc.
| Constructor Summary | |
|---|---|
XySize(double width,
double height)
Creates a new XySize object from the width and height given. |
|
| Method Summary | |
|---|---|
double |
getArea()
Returns the area (width * height). |
double |
getHeight()
Returns the area's height. |
double |
getWidth()
Returns the area's width. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XySize(double width,
double height)
width - width of areaheight - height of area| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic double getWidth()
public double getHeight()
public double getArea()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||