For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Interface DOMRectReadOnly
bottom: number;
height: number;
left: number;
right: number;
top: number;
width: number;
x: number;
y: number;
toJSON(): any;
}
Hierarchy (View Summary)
- DOMRectReadOnly
Properties
Readonlybottom
The bottom read-only property of the DOMRectReadOnly interface returns the bottom coordinate value of the DOMRect. (Has the same value as y + height, or y if height is negative.)
Readonlyheight
The height read-only property of the DOMRectReadOnly interface represents the height of the DOMRect.
Readonlyleft
The left read-only property of the DOMRectReadOnly interface returns the left coordinate value of the DOMRect. (Has the same value as x, or x + width if width is negative.)
Readonlyright
The right read-only property of the DOMRectReadOnly interface returns the right coordinate value of the DOMRect. (Has the same value as x + width, or x if width is negative.)
Readonlytop
The top read-only property of the DOMRectReadOnly interface returns the top coordinate value of the DOMRect. (Has the same value as y, or y + height if height is negative.)
Readonlywidth
The width read-only property of the DOMRectReadOnly interface represents the width of the DOMRect.
Readonlyx
The x read-only property of the DOMRectReadOnly interface represents the x coordinate of the DOMRect's origin.
Readonlyy
The y read-only property of the DOMRectReadOnly interface represents the y coordinate of the DOMRect's origin.
The
DOMRectReadOnlyinterface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.MDN Reference