toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.geometry
/
DOMRectReadOnly
DOMRect
Read
Only
open
external
class
DOMRectReadOnly
(
x
:
Double
=
definedExternally
,
y
:
Double
=
definedExternally
,
width
:
Double
=
definedExternally
,
height
:
Double
=
definedExternally
)
(
source
)
MDN Reference
Inheritors
DOMRect
Members
Members & Extensions
Constructors
DOMRect
Read
Only
Link copied to clipboard
constructor
(
x
:
Double
=
definedExternally
,
y
:
Double
=
definedExternally
,
width
:
Double
=
definedExternally
,
height
:
Double
=
definedExternally
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
bottom
Link copied to clipboard
open
val
bottom
:
Double
MDN Reference
height
Link copied to clipboard
open
val
height
:
Double
MDN Reference
left
Link copied to clipboard
open
val
left
:
Double
MDN Reference
right
Link copied to clipboard
open
val
right
:
Double
MDN Reference
top
Link copied to clipboard
open
val
top
:
Double
MDN Reference
width
Link copied to clipboard
open
val
width
:
Double
MDN Reference
x
Link copied to clipboard
open
val
x
:
Double
MDN Reference
y
Link copied to clipboard
open
val
y
:
Double
MDN Reference
Functions
as
Init
Link copied to clipboard
inline
fun
DOMRectReadOnly
.
asInit
(
)
:
DOMRectInit
to
JSON
Link copied to clipboard
fun
toJSON
(
)
:
Any
MDN Reference