DOMPointReadOnly.idl 838 B

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