()
| 257 | // a convenient wrapper around an array of points that allows to chain appends |
| 258 | class ESPath { |
| 259 | constructor() { |
| 260 | this.points = []; |
| 261 | } |
| 262 | |
| 263 | addpoint(x, y) { |
| 264 | this.points.push({ x: d3.round(x), y: d3.round(y) }); |
nothing calls this directly
no outgoing calls
no test coverage detected