MCPcopy Index your code
hub / github.com/plotly/plotly.js / pathAnnulus

Function pathAnnulus

src/lib/angles.js:216–218  ·  view source on GitHub ↗

* path an annulus * * @param {number} r0 : first radial coordinate * @param {number} r1 : second radial coordinate * @param {number} a0 : first angular coordinate in *radians* * @param {number} a1 : second angular coordinate in *radians* * @param {number (optional)} cx : x coordinate of center

(r0, r1, a0, a1, cx, cy)

Source from the content-addressed store, hash-verified

214 * @return {string} svg path
215 */
216function pathAnnulus(r0, r1, a0, a1, cx, cy) {
217 return _path(r0, r1, a0, a1, cx, cy, 1);
218}
219
220module.exports = {
221 deg2rad: deg2rad,

Callers

nothing calls this directly

Calls 1

_pathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…