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:
parent
a37ab7b9f8
commit
2ec52bbbd5
9 changed files with 92 additions and 0 deletions
11
Userland/Libraries/LibWeb/HTML/Path2D.idl
Normal file
11
Userland/Libraries/LibWeb/HTML/Path2D.idl
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue