Box
Description
When box need to be rotates, one should use Rectangle2D, which is float-based and capable of storage information about angle.
struct Box { int x; int y; int width; int height; };
Structure Fields
Type fields and default values (if defined) are described below:
| Name | Type | Description |
|---|---|---|
| X | Integer | |
| Y | Integer | |
| Width | Integer | |
| Height | Integer |
