yWorks / svg2pdf.js

A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts
MIT License
649 stars 98 forks source link

Support gradients with templates #191

Open HackbrettXXX opened 2 years ago

HackbrettXXX commented 2 years ago

Gradients can reference other gradients as templates using the href attribute. See https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementHrefAttribute