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

13 lines
349 B
Plaintext
Raw Normal View History

#import <Geometry/DOMMatrixReadOnly.idl>
2022-08-11 18:50:23 +03:00
#import <HTML/Canvas/CanvasPath.idl>
// https://html.spec.whatwg.org/multipage/canvas.html#path2d
[Exposed=(Window,Worker)]
2022-08-11 18:50:23 +03:00
interface Path2D {
constructor(optional (Path2D or DOMString) path);
undefined addPath(Path2D path, optional DOMMatrix2DInit transform = {});
2022-08-11 18:50:23 +03:00
};
Path2D includes CanvasPath;