The angle at which js rotates the rectangle will its left and top change?

imitate processON, to do a small example of mouse drag, you can press and hold the four corners to change the size, you can rotate
after rotation, I calculate the new width and height, based on the matrix matrix of transform, because I see that the rotation above the processON will recalculate the width and height, and then give the div to become the following dynamic picture, is there anything missing?
do I need to change left and top after rotation?

Sep.06,2021
The operations of

transform are all calculated by matrix, and your left and top are unchanged, but visually changed. You can use the getComoputedStyle method to get the real changes in the data


Hello, how do you make the rectangular control around the ellipse?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea400b-1ca2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea400b-1ca2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?