@mocanvas/mocanvas · interface

TLArcInfo

interface TLArcInfo

A circular arc, in the form an SVG A command and a length query both need.


Properties · 6

center: VecLike
largeArcFlag: number

1 when the arc takes the long way round; SVG's own flag, as a number.

length: number

Arc length, in the arrow's own units.

radius: number
size: number

The swept angle, in radians. Signed: negative sweeps anticlockwise.

sweepFlag: number

1 when the arc sweeps clockwise; SVG's own flag, as a number.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.