Fabric Js Displaced Resize Rotate Controls
I have a simple fabric.canvas element which has a background and I have set its width and height equal to that of the above image. and then added the cap image. the problem is th
Solution 1:
I have got the answer on twitter.
I added a canvas.calcOffset() right after changing the width and height of the canvas and also adding the image.
It worked.
Solution 2:
Try with oImg.setCoords() after canvas.add(oImg);
Post a Comment for "Fabric Js Displaced Resize Rotate Controls"