Size is a class that describes the width and height of an object.
More...
Size is a class that describes the width and height of an object.
◆ Size()
com.spvessel.spacevil.Core.Size.Size |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
Constructs Size with specified width and height.
- Parameters
-
w | Width of the object. |
h | Height of the object. |
◆ getHeight()
int com.spvessel.spacevil.Core.Size.getHeight |
( |
| ) |
|
Getting the height of the object.
- Returns
- Height of the object.
◆ getWidth()
int com.spvessel.spacevil.Core.Size.getWidth |
( |
| ) |
|
Getting the width of the object.
- Returns
- Width of the object.
◆ setHeight()
void com.spvessel.spacevil.Core.Size.setHeight |
( |
int |
value | ) |
|
Setting the height of the object.
- Parameters
-
value | Height of the object. |
◆ setSize()
void com.spvessel.spacevil.Core.Size.setSize |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
Setting the size of the object.
- Parameters
-
w | Width of the object. |
h | Height of the object. |
◆ setWidth()
void com.spvessel.spacevil.Core.Size.setWidth |
( |
int |
value | ) |
|
Setting the width of the object.
- Parameters
-
value | Width of the object. |
The documentation for this class was generated from the following file: