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

Method path

src/rendering/svg.js:90–96  ·  view source on GitHub ↗

* Create a path element

(pathData)

Source from the content-addressed store, hash-verified

88 * Create a path element
89 */
90 path(pathData) {
91 const path = createSVGElement('path');
92 path.setAttribute('d', pathData);
93 this.svg.appendChild(path);
94
95 return new SVGElement(path);
96 }
97
98 /**
99 * Create a line element

Callers 10

sectorMethod · 0.95
_drawGaugeMethod · 0.80
_drawLevelMethod · 0.80
_drawSectorColorsMethod · 0.80
_drawPointerMethod · 0.80
_drawTargetLineMethod · 0.80
svg.test.jsFile · 0.80
raphael.min.jsFile · 0.80
JustGageFunction · 0.80
justgage.jsFile · 0.80

Calls 1

createSVGElementFunction · 0.85

Tested by

no test coverage detected