Draw rectangle with aCoords tl, br corners instead of top, left in fabric.js?

后端 未结 0 1476
猫巷女王i
猫巷女王i 2020-12-21 16:25

So I wanted to draw rectangles on canvas based on coordinates received from an external system, which uses (x1,y1) (top-left) and (x2,y2) (bottom-right) coordinates to draw

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