d.r = r; d.x = offset + r; d.y = size[1]/2; offset += 2 * r; return d; ... Hat tip to Mike Bostock, for designing such a good interface.
確定! 回上一頁