mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Canvas: implement rectangle drawing.
This commit is contained in:
parent
e4b620ea54
commit
5287cb7fba
34 changed files with 21 additions and 155 deletions
|
@ -171,7 +171,7 @@ interface CanvasPathMethods {
|
|||
unrestricted double radius);
|
||||
// NOT IMPLEMENTED [LenientFloat] void arcTo(double x1, double y1, double x2, double y2, double radiusX, double radiusY, double rotation);
|
||||
|
||||
//void rect(double x, double y, double w, double h);
|
||||
void rect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
|
||||
|
||||
[Throws]
|
||||
void arc(double x, double y, double radius, double startAngle, double endAngle, optional boolean anticlockwise = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue