What is the exact definition of the rotatedrect's angle?

When I used the RotatedRect, I really want to know what is the angle of the RotatedRect. Which angle is the angle of the RotatedRect? Thanks.

you can use boxPoints to calculate the corner points. that will show you the meaning of the rotation value.

Ok thanks! I will have a try.