JavaScripture
Contribute via GitHub
Feedback
DOMRectReadOnly
Constructors
Instance Properties
bottom
height
left
right
top
width
x
y
DOMRectReadOnly Methods
fromRect
Geometry API
All API
No API set selected.
DOMRectReadOnly
:
Object
constructor
See also
DOMRect
.
Spec
Constructors
new
DOMRectReadOnly
(
[
x
= 0
:
Number
,
[
y
= 0
:
Number
,
[
width
= 0
:
Number
,
[
height
= 0
:
Number
]
]
]
]
) :
DOMRectReadOnly
Instance Properties
bottom
:
Number
readonly
height
:
Number
readonly
left
:
Number
readonly
right
:
Number
readonly
top
:
Number
readonly
width
:
Number
readonly
x
:
Number
readonly
y
:
Number
readonly
DOMRectReadOnly Methods
fromRect
(
rect
:
Object
) :
DOMRectReadOnly
rect
: {
x
:
Number
y
:
Number
width
:
Number
height
:
Number
}
home
license
contribute
feedback
toggle light/dark mode
Copyright © JavaScripture Contributors