@mocanvas/editor · function
declare function getPointsOnArc(startPoint: VecLike, endPoint: VecLike, center: null | VecLike, radius: number, numPoints: number): Vec[]numPoints points along the arc from startPoint to endPoint, inclusive.
A null center means there is no arc — the points are spread along the
straight line between the two instead.
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.