toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.geometry
/
DOMRect
DOMRect
external
class
DOMRect
(
x
:
Double
=
definedExternally
,
y
:
Double
=
definedExternally
,
width
:
Double
=
definedExternally
,
height
:
Double
=
definedExternally
)
:
DOMRectReadOnly
(
source
)
MDN Reference
Members
Members & Extensions
Constructors
DOMRect
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
override
var
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
override
var
width
:
Double
MDN Reference
x
Link copied to clipboard
open
override
var
x
:
Double
MDN Reference
y
Link copied to clipboard
open
override
var
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