DOMPoint.idl 636 B

1234567891011121314151617
  1. #import <Geometry/DOMPointReadOnly.idl>
  2. // https://drafts.fxtf.org/geometry/#dompoint
  3. [Exposed=(Window,Worker), Serializable, LegacyWindowAlias=SVGPoint]
  4. interface DOMPoint : DOMPointReadOnly {
  5. constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
  6. optional unrestricted double z = 0, optional unrestricted double w = 1);
  7. [NewObject] static DOMPoint fromPoint(optional DOMPointInit other = {});
  8. inherit attribute unrestricted double x;
  9. inherit attribute unrestricted double y;
  10. inherit attribute unrestricted double z;
  11. inherit attribute unrestricted double w;
  12. };