Preparing search index...
The search index is not available
nx.js
nx.js
DOMRect
Class DOMRect
MDN Reference
Hierarchy (
view full
)
DOMRectReadOnly
DOMRect
Index
Constructors
constructor
Properties
height
width
x
y
Accessors
bottom
left
right
top
Methods
toJSON
from
Rect
Constructors
constructor
new DOMRect
(
x
?
,
y
?
,
width
?
,
height
?
)
:
DOMRect
Parameters
Optional
x
:
number
Optional
y
:
number
Optional
width
:
number
Optional
height
:
number
Returns
DOMRect
Properties
height
height
:
number
MDN Reference
width
width
:
number
MDN Reference
x
x
:
number
MDN Reference
y
y
:
number
MDN Reference
Accessors
bottom
get
bottom
(
)
:
number
MDN Reference
Returns
number
left
get
left
(
)
:
number
MDN Reference
Returns
number
right
get
right
(
)
:
number
MDN Reference
Returns
number
top
get
top
(
)
:
number
MDN Reference
Returns
number
Methods
toJSON
toJSON
(
)
:
{
bottom
:
number
;
height
:
number
;
left
:
number
;
right
:
number
;
top
:
number
;
width
:
number
;
x
:
number
;
y
:
number
;
}
Returns
{
bottom
:
number
;
height
:
number
;
left
:
number
;
right
:
number
;
top
:
number
;
width
:
number
;
x
:
number
;
y
:
number
;
}
bottom
:
number
height
:
number
left
:
number
right
:
number
top
:
number
width
:
number
x
:
number
y
:
number
Static
from
Rect
from
Rect
(
o
?
)
:
DOMRect
MDN Reference
Parameters
o
:
DOMRectInit
= {}
Returns
DOMRect
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
height
width
x
y
bottom
left
right
top
toJSON
from
Rect
nx.js
Loading...
MDN Reference