Serenity Operating System
1// https://drafts.fxtf.org/geometry/#dompointreadonly
2[Exposed=(Window,Worker), Serializable]
3interface DOMPointReadOnly {
4
5 constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
6 optional unrestricted double z = 0, optional unrestricted double w = 1);
7
8 [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {});
9
10 readonly attribute unrestricted double x;
11 readonly attribute unrestricted double y;
12 readonly attribute unrestricted double z;
13 readonly attribute unrestricted double w;
14
15 // FIXME: DOMPoint matrixTransform(optional DOMMatrixInit matrix = {});
16
17 // FIXME: [Default] object toJSON();
18};
19
20dictionary DOMPointInit {
21 unrestricted double x = 0;
22 unrestricted double y = 0;
23 unrestricted double z = 0;
24 unrestricted double w = 1;
25};