summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Path2D.idl
blob: 64264dd2c9c2ab3b9b84262bb235f1b91e276bec (plain)
1
2
3
4
5
6
7
8
9
10
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;