How to obtain the four corner coordinates of a rotated rectangle
I can obtain the drawn shape object, whose properties only include the center point and length/width. I need the coordinates of the four corners of the rectangle, and the coordinates of the four corners after the rectangle is rotated.
How to obtain the four corner coordinates of a rotated rectangle
I can obtain the drawn shape object, whose properties only include the center point and length/width. I need the coordinates of the four corners of the rectangle, and the coordinates of the four corners after the rectangle is rotated.