... to the starting point, closing the polygon. var line = d3.line() .curve(d3.curveLinearClosed); d3.select("#svg") .append("path") .attr("d", line(hull));.
確定! 回上一頁