DOMRectReadOnly.idl 534 B

1234567891011121314151617
  1. // https://drafts.fxtf.org/geometry/#domrectreadonly
  2. [Exposed=(Window, Worker), Serializable]
  3. interface DOMRectReadOnly {
  4. constructor(optional double x = 0, optional double y = 0, optional double width = 0, optional double height = 0);
  5. readonly attribute double x;
  6. readonly attribute double y;
  7. readonly attribute double width;
  8. readonly attribute double height;
  9. readonly attribute double top;
  10. readonly attribute double right;
  11. readonly attribute double bottom;
  12. readonly attribute double left;
  13. };