// arc(x, y, w, h, start, stop, [mode], [detail])
arc(50, 50, 80, 80, 0, PI + HALF_PI);
-- ++ allow object literal option
arc( {x: 50, y:50, w:80, h:80, start:0, stop:PI + HALF_PI } );
arc(x, y, w, h, start, stop, [mode], [detail])
arc({ x, y, w, h, start, stop, mode, detail })
ellipse({ x, y, w, h})
circle({ x, y, d })
rect({ x, y, w, h, tl, tr, br, bl })
triangle({ x1, y1, x2, y2, x3, y3 })
triangle([{ x, y }, { x, y }, { x, y }])
line({ x1, y1, x2, y2 })
line([{ x, y }, { x, y }])
line({ x1, y1, z1, x2, y2, z2 })
line([{ x, y, z }, { x, y, z }])
This proposal would affect the following Shape functions:
arc()
circle()
ellipse()
line()
point()
quad()
rect()
square()
triangle()
function arc() Syntax