()
| 1369 | } |
| 1370 | |
| 1371 | toNode() { |
| 1372 | const svgNS = "http://www.w3.org/2000/svg"; |
| 1373 | const node = document.createElementNS(svgNS, "line"); // Apply attributes |
| 1374 | |
| 1375 | for (const attr in this.attributes) { |
| 1376 | if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) { |
| 1377 | node.setAttribute(attr, this.attributes[attr]); |
| 1378 | } |
| 1379 | } |
| 1380 | |
| 1381 | return node; |
| 1382 | } |
| 1383 | |
| 1384 | toMarkup() { |
| 1385 | let markup = "<line"; |
nothing calls this directly
no test coverage detected