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

Function arc

src/lib/angles.js:142–144  ·  view source on GitHub ↗
(r, a, cw)

Source from the content-addressed store, hash-verified

140
141 var largeArc = Math.abs(aEnd - aStart) <= PI ? 0 : 1;
142 function arc(r, a, cw) {
143 return 'A' + [r, r] + ' ' + [0, largeArc, cw] + ' ' + pt(r, a);
144 }
145
146 var p;
147

Callers 1

_pathFunction · 0.70

Calls 1

ptFunction · 0.85

Tested by

no test coverage detected