Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-browser
/
web.geometry
/
DOMRectReadOnly
DOMRect
Read
Only
open
class
DOMRectReadOnly
(
val
x
:
Double
=
definedExternally
,
val
y
:
Double
=
definedExternally
,
val
width
:
Double
=
definedExternally
,
val
height
:
Double
=
definedExternally
)
(
source
)
MDN Reference
Inheritors
DOMRect
Members
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
to
JSON
Link copied to clipboard
fun
toJSON
(
)
:
JsAny
MDN Reference