jQuery draggable containment custom shape

381 Views Asked by At

I want to dragg a object with the red lines as bounderies. (check image below)

I looked for examples but all i can find are square and circualar shapes.

  • i tried a element with css transform rotate attachted to it -> didn't work
  • i tried svg shape -> not supported
  • i tried to make a shape with canvas - didn't work

i ran out of idea's so hope one of you have one

Containment of object in red

0

There are 0 best solutions below