javascript - Transparent png border in fabric.js/canvas -


i'm working on map engine , decided use fabric.js. worked great in terms of drawing, encountered problem multiple (100-1000) objects. redrawing scene took long animations , parsing svg. decided change map nodes svg png efficiency.

however, while using svg files setting element border through code. equivalent have use png files, setting border not simple.

is there way set solid border partially transparent png images in fabric.js?


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -