I am trying to make a Re-sizable touch view which I made successfully. You can find code How to make view resizable on touch event.
It has 4 corners. You can re-size that rectangle by dragging one of corner. But now I want to enhance that logic and want to put rotation in that code. I successfully find angle when user touch center of one of the edge of rectangle. But now problem is I can't get new position of corners so that I can redraw that rectangle and rotation is possible.
Question is : How can I calculate 4 corners new position based on Angle?.