* Create a path element
(pathData)
| 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 |
no test coverage detected