Skip to content

Function: arcPath() ​

ts
function arcPath(
   cx, 
   cy, 
   r, 
   a0, 
   a1
): string;

Defined in: core/coords.ts:624

SVG path of the arc of radius r around (cx, cy) from screen angle a0 to a1 (0 = up, clockwise).

Parameters ​

cx ​

number

cy ​

number

r ​

number

a0 ​

number

a1 ​

number

Returns ​

string