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

Function pathSector

src/lib/angles.js:201–203  ·  view source on GitHub ↗

* path a sector * * @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

199 * @return {string} svg path
200 */
201function pathSector(r, a0, a1, cx, cy) {
202 return _path(null, r, a0, a1, cx, cy, 1);
203}
204
205/**
206 * path an annulus

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…