public final class Size extends Object
| Constructor and Description |
|---|
Size()
Instantiates the new
Size . |
Size(int width,
int height)
Instantiates the new
Size. |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Gets the height in pixels.
|
int |
getWidth()
Gets the width in pixels.
|
void |
setHeight(int height)
Sets the height in pixels.
|
void |
setWidth(int width)
Sets the width in pixels.
|