draw2d
draw2d copied to clipboard
Solution to prohibit the intersection of shapes
Hello, is there any ready-made solution to prohibit the intersection of shapes when dragging and dropping?
didn't get the requirement complete.
You want to arrange the shapes in that way, that it is impossible that one shape is above another one?
yes ... it seems so
I tried to show the desired result:
figures should not intersect when moving
and what should happen if the mouse if above/in the center of the group?
Another solution could be that the mouse pointer is changing to "forbid" and if the user drops the shape on the group, the figure goes back to the original position.
It seems I’m starting to understand ... how to calculate and prohibit the intersection of BoundingBox?