DOMPointReadOnly.idl 808 B

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