MCPcopy
hub / github.com/toorshia/justgage / createSVGElement

Function createSVGElement

src/rendering/svg.js:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 * @returns {SVGElement} Created SVG element
10 */
11const createSVGElement = tagName => {
12 return document.createElementNS('http://www.w3.org/2000/svg', tagName);
13};
14
15/**
16 * SVG Renderer for JustGage - Modern implementation using native SVG APIs

Callers 8

initMethod · 0.85
circleMethod · 0.85
rectMethod · 0.85
pathMethod · 0.85
lineMethod · 0.85
textMethod · 0.85
getDefsMethod · 0.85
createShadowFilterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected