Trying to draw a rectangle on a canvas with onMouseDown and onMouseUp but the onMouseUp event behaves incorrectly in reactjs

后端 未结 0 1359
囚心锁ツ
囚心锁ツ 2021-01-14 04:19

What I am trying to do

I have a canvas a and I load an image in to it, then on click I want to draw rectangles and save the coordination of each rectangle drawn ins

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