円の描画

  • ctx.beginPath();
  • ctx.fillStyle = 'rgb(155, 187, 89)'; // 緑
  • ctx.arc(120, 120, 40.0, 0, Math.PI*2, true);
  • ctx.fill();