Menu
I have question about free drawing in fabric.js. I have canvas where I can draw some. And then I load svg image where I have shapes to coloring. But I want to make pattern brush over my svg paths. I have code for example:
function loadImage(){
fabric.loadSVGFromURL(path, function(objects, options) {
//do some
}
var color = choosenColor;
shape = fabric.util.groupSVGElements(objects, options);
shape.set({
left: 0,
top: 0
});
//do some
}
I have this SVG image but I need to such a brush is not blurred line of my SVG image. My patern brush shoud have kind of some z-index and draw under my SVG shapes.