Fabricjs: is there a way to detect if a fabric.Rect is dropped into antother fabric.Rect

后端 未结 0 1451
北海茫月
北海茫月 2020-12-03 02:46

I have two rectangles in fabricjs. Is there a way by which I can detect when I drag and drop one rectangle on top of another?

const square = new fabric.Rect({         


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