fabricjs set clipped object as background to canvas after clipping
问题 In my fabricjs I am making a canvas and adding an image to it and setting the image as background. and then I am clipping the cavas to some width and height. After I clip the canvas I want a new canvas or same canvas with clipped area as background all covering the canvas with its width and height or can make new canvas with clipped area's height and width Currently I am doing this.. function crop(url, name, left, top, width, height, callback) { var c = document.createElement('canvas') var id