Answer the question
In order to leave comments, you need to log in
How to use an image multiple times in svg.js?
There is an image in base64 string.
I need to use this image a lot of times (background).
//pattern == data:image/png;base64, ...
var svgEnd = SVG("data").fill("white");
var svgPattern = svgEnd.image(pattern);
Answer the question
In order to leave comments, you need to log in
The <use> element
https://developer.mozilla.org/en/docs/Web/SVG/Elem...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question