mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Canvas: arc throws IndexSizeError on negative radius.
This commit is contained in:
parent
350a35428a
commit
0a3b4f2f65
3 changed files with 8 additions and 6 deletions
|
@ -150,6 +150,7 @@ interface CanvasPathMethods {
|
|||
|
||||
//void rect(double x, double y, double w, double h);
|
||||
|
||||
[Throws]
|
||||
void arc(double x, double y, double radius, double startAngle, double endAngle, optional boolean anticlockwise = false);
|
||||
// NOT IMPLEMENTED [LenientFloat] void ellipse(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, boolean anticlockwise);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue