1 | initial version |
Basically a bounding box is stored as a rectangle. This means that you have the following parameters stored
EITHER
OR
In both cases you can use the properties of a rectangle to access it dimensions. A small code snippet
Rectangle retrieved_rectangle;
int width = retrieved_rectangle.width;
int heigth = retrieved_rectangle.heigth;