()
| 1341 | } |
| 1342 | |
| 1343 | toNode() { |
| 1344 | const svgNS = "http://www.w3.org/2000/svg"; |
| 1345 | const node = document.createElementNS(svgNS, "path"); |
| 1346 | |
| 1347 | if (this.alternate) { |
| 1348 | node.setAttribute("d", this.alternate); |
| 1349 | } else { |
| 1350 | node.setAttribute("d", svgGeometry.path[this.pathName]); |
| 1351 | } |
| 1352 | |
| 1353 | return node; |
| 1354 | } |
| 1355 | |
| 1356 | toMarkup() { |
| 1357 | if (this.alternate) { |
nothing calls this directly
no test coverage detected