DOMRect.idl 420 B

1234567891011121314
  1. #import <Geometry/DOMRectReadOnly.idl>
  2. // https://drafts.fxtf.org/geometry/#dompoint
  3. [Exposed=(Window,Worker), Serializable, LegacyWindowAlias=SVGRect]
  4. interface DOMRect : DOMRectReadOnly {
  5. constructor(optional double x = 0, optional double y = 0, optional double width = 0, optional double height = 0);
  6. attribute double x;
  7. attribute double y;
  8. attribute double width;
  9. attribute double height;
  10. };