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

Ok thanks! I will have a try.