DOMRect

open external class DOMRect : DOMRectReadOnly (source)

Platform and version requirements: JS

Exposes the JavaScript DOMRect to Kotlin

Constructors

<init>

DOMRect(
    x: Double = definedExternally,
    y: Double = definedExternally,
    width: Double = definedExternally,
    height: Double = definedExternally)

Exposes the JavaScript DOMRect to Kotlin

Properties

height

open var height: Double

width

open var width: Double

x

open var x: Double

y

open var y: Double

Inherited Properties

bottom

open val bottom: Double

left

open val left: Double

right

open val right: Double

top

open val top: Double