How to calculate translate x and y value when resize after rotate..?

后端 未结 1 773
情深已故
情深已故 2021-01-03 02:37

I am working with HTML div element corner based resize in javascript.

Below image shows rotate resize operation:

Corner b

相关标签:
1条回答
  • 2021-01-03 02:46

    I don't know if you still need help. But I think you can reach it with Trigonometry (cosinus, sinus and your rotation angle) because your rotation draw a circle.

    0 讨论(0)
提交回复
热议问题