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