-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
static Size |
EMPTY
An empty size.
|
-
Constructor Summary
Constructors
Constructor and Description |
Size(double width,
double height)
Initializes a new instance of the Size class.
|
-
Method Summary
Methods
Modifier and Type |
Method and Description |
double |
getHeight()
Gets a height.
|
double |
getWidth()
Gets a width.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getWidth
public double getWidth()
- Returns:
- A double value that represents the width.