Open srush opened 2 years ago
I was thinking about this; maybe a clearer alternative would be for arc
to just mirror ArcSegment
's constructor? That is, specify an arc by its radius, starting angle and a difference (delta) angle (instead of the ending angle).
I don't know how important this is, but should the
arc
function use the same direction (either clockwise or counterclockwise) irrespective of its arguments? For example,produces but maybe the second arc should be the same as the third one?
_Originally posted by @danoneata in https://github.com/danoneata/chalk/pull/96#discussion_r942250001_