1 | initial version |
Actually if you have a Rect
you can also call the member data .width
and .height
. Pretty much simple and straight forward:
Rect rect;
rect.width;
rect.height;
In case of RotatedRect
you just follow what Steven and Laurent pointed you.