To draw a wedge, you simply fill an arc from the arc's centerpoint like this: ... moveTo(cx,cy); ctx.arc(cx,cy,radius,startAngle,endAngle); ctx.
確定! 回上一頁