rotate rect direction towards mouse

后端 未结 0 1579
我在风中等你
我在风中等你 2021-02-14 12:46

I have a rect drawn on html5 canvas. I want user to be able to start dragging on corner and rotate the rect so that the selected corner faces where the user drags to.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题