1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +00:00

LibWeb: Forward CanvasRenderingContext.strokeText() to fillText()

This is a hack until we get an actual text stroking implementation.
This commit is contained in:
Andreas Kling 2022-02-03 20:09:57 +01:00
parent dc3bf32307
commit 926d5271b4
3 changed files with 8 additions and 0 deletions

View file

@ -22,6 +22,7 @@ interface CanvasRenderingContext2D {
undefined rect(double x, double y, double width, double height);
undefined fillText(DOMString text, double x, double y, optional double maxWidth);
undefined strokeText(DOMString text, double x, double y, optional double maxWidth);
undefined drawImage(HTMLImageElement image, double dx, double dy);