Commit d73b53cb by doszhang

dos

parent 45cceef2
...@@ -825,7 +825,7 @@ CanvasRenderingContext2D.prototype.sector = function (x, y, r, angle1, angle2) { ...@@ -825,7 +825,7 @@ CanvasRenderingContext2D.prototype.sector = function (x, y, r, angle1, angle2) {
this.save(); this.save();
this.beginPath(); this.beginPath();
this.moveTo(x, y); this.moveTo(x, y);
this.arc(x, y, r, angle1 * Math.PI / 180, angle2 * Math.PI / 180, false); this.arc(x, y, r, angle1 * Math.PI, angle2 * Math.PI / 180, false);
this.closePath(); this.closePath();
this.restore(); this.restore();
return this; return this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment