矩形の描画

  • ctx.strokeStyle = "rgba(0,200,0,0.3)";
  • ctx.lineWidth = 20.0;
  • ctx.strokeRect(20, 10, 260, 130);