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