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

LibWeb: Implement Path2D class

This commit is contained in:
Sam Atkins 2022-08-11 16:50:23 +01:00 committed by Andreas Kling
parent a37ab7b9f8
commit 2ec52bbbd5
9 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#import <HTML/Canvas/CanvasPath.idl>
// https://html.spec.whatwg.org/multipage/canvas.html#path2d
[Exposed=(Window,Worker)]
interface Path2D {
constructor(optional (Path2D or DOMString) path);
// FIXME: undefined addPath(Path2D path, optional DOMMatrix2DInit transform = {});
};
Path2D includes CanvasPath;