* path polygon * * @param {number} r : polygon 'radius' * @param {number} a0 : first angular coordinate in *radians* * @param {number} a1 : second angular coordinate in *radians* * @param {array} vangles : angles of polygon vertices in *radians* * @param {number (optional)} cx : x coordinate o
(r, a0, a1, vangles, cx, cy)
| 237 | * |
| 238 | */ |
| 239 | function pathPolygon(r, a0, a1, vangles, cx, cy) { |
| 240 | var poly = makePolygon(r, a0, a1, vangles); |
| 241 | return 'M' + transformForSVG(poly, cx, cy).join('L'); |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * path a polygon 'annulus' |
nothing calls this directly
no test coverage detected
searching dependent graphs…