Size Constructor
Constructor in Size
Declaration
public Size(int width = 0, int height = 0)
Description
Creates a new size with the specified width and height.
Parameters
width | The width of the entity. |
height | The height of the entity. |
Overload
Declaration
public Size(int size)
Description
Creates a new size with uniform width and height.
Parameters
size | The uniform size of the entity. |