By center and point

images/download/attachments/90486789/box11.jpg

In this method, the center of the rectangle is specified first, and then one of the points of the rectangle.

images/download/attachments/90486789/box12.jpg

The inspector displays this center, as well as the width, height, and rotation of the rectangle.