ctx.clearRect(0, 0, 16, 16);. ctx.beginPath();. ctx.arc(8, 8, 6, s, (pct * 2 * Math.PI / 100 + s));. ctx.stroke();. if (pct === 100) {.
確定! 回上一頁