public class Dimension extends Object
Constructor and Description |
---|
Dimension(int width,
int height)
Construct and initializes a dimension.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the height of the design object.
|
int |
getWidth()
Gets the width of the design object
|
void |
setHeight(int height)
Sets the height of the design object.
|
void |
setWidth(int width)
Sets the width of the design object.
|
public Dimension(int width, int height)
width
- height
- public int getWidth()
public void setWidth(int width)
width
- The width to set.public int getHeight()
public void setHeight(int height)
height
- The height to set.Copyright © 2022 Visiativ. All rights reserved.