Open TimotheAlbouy opened 5 years ago
Will the image look like this?
If so, you can use attributes options like this.
textToSVG.getSVG('hello', {attributes: {fill: "white", stroke: "black"}});
Yes that's good, thank you very much! But the strokes are outside the edges of the letters or are they a bit inside?
@TimotheAlbouy
They are a bit inside.
If you want the stroke to be outside the edge, try the paint-order property.
https://www.oreilly.com/ideas/elegant-outlines-with-svg-paint-order
Is it possible to outline the text created with this module? For example, I would like to write text in white and outlined in black. This feature is possible with the vectorize-text module.