DOMRect

open external class DOMRect(x: Double, y: Double, width: Double, height: Double) : DOMRectReadOnly

Exposes the JavaScript DOMRect to Kotlin

Constructors

DOMRect
Link copied to clipboard
fun DOMRect(x: Double = definedExternally, y: Double = definedExternally, width: Double = definedExternally, height: Double = definedExternally)

Properties

bottom
Link copied to clipboard
open val bottom: Double
height
Link copied to clipboard
open override var height: Double
left
Link copied to clipboard
open val left: Double
right
Link copied to clipboard
open val right: Double
top
Link copied to clipboard
open val top: Double
width
Link copied to clipboard
open override var width: Double
x
Link copied to clipboard
open override var x: Double
y
Link copied to clipboard
open override var y: Double