SVGA reference to an external SVG file by URL (e.g. starts with cuttle-svg://). To load an SVG and render it, pass an SVG to getSVGFromURL which returns an SVGRenderer. const svgRenderer = getSVGFromURL(svg); if (!svgRenderer) return []; return svgRenderer.render(); ConstructorsSVG(svg)→SVGsvg(string | SVG)Properties.urlstringThe URL of the SVG file (e.g. starts with cuttle-svg://).Methods.equals(svg)→booleanTwo SVGs are equal when they reference the same URL.svgSVG
A reference to an external SVG file by URL (e.g. starts with
cuttle-svg://).To load an SVG and render it, pass an
SVGtogetSVGFromURLwhich returns anSVGRenderer.