Add rotation functionality on click of rotation pointer using mouse move
I’m currently working on a canvas drawing application where I have implemented a function to draw a rectangle with resize pointers on its corners and sides. Now, I’m looking to enhance it by adding rotation pointers on each corner for rotation functionality similar to the resize pointers.