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

Function pathArc

src/lib/angles.js:187–189  ·  view source on GitHub ↗

* path an arc * * @param {number} r : radius * @param {number} a0 : first angular coordinate in *radians* * @param {number} a1 : second angular coordinate in *radians* * @param {number (optional)} cx : x coordinate of center * @param {number (optional)} cy : y coordinate of center * @return {

(r, a0, a1, cx, cy)

Source from the content-addressed store, hash-verified

185 * @return {string} svg path
186 */
187function pathArc(r, a0, a1, cx, cy) {
188 return _path(null, r, a0, a1, cx, cy, 0);
189}
190
191/**
192 * path a sector

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…