ladybird/Userland/Libraries/LibWeb/HTML/Path2D.idl

12 lines
318 B
Text
Raw Normal View History

2022-08-11 16:50:23 +01:00
#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;