DOMPoint.idl 568 B

12345678910111213141516
  1. #import <Geometry/DOMPointReadOnly.idl>
  2. // https://drafts.fxtf.org/geometry/#dompoint
  3. interface DOMPoint : 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 DOMPoint fromPoint(optional DOMPointInit other = {});
  7. inherit attribute unrestricted double x;
  8. inherit attribute unrestricted double y;
  9. inherit attribute unrestricted double z;
  10. inherit attribute unrestricted double w;
  11. };