mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
LibWeb: Add CanvasRenderingContext2D.clearRect()
Similar to fillRect, except this API fills with transparent black.
This commit is contained in:
parent
4559faf8d8
commit
d434ae71b3
3 changed files with 13 additions and 0 deletions
|
@ -2,6 +2,7 @@ interface CanvasRenderingContext2D {
|
|||
|
||||
undefined fillRect(double x, double y, double w, double h);
|
||||
undefined strokeRect(double x, double y, double w, double h);
|
||||
undefined clearRect(double x, double y, double w, double h);
|
||||
|
||||
undefined scale(double x, double y);
|
||||
undefined translate(double x, double y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue