Creates a new Box instance with the specified parameters.
The x-coordinate of the box's position.
The y-coordinate of the box's position.
The width of the box.
The height of the box.
A new Box instance.
Creates a new Box instance with the specified parameters.