kotlin-stdlib / org.w3c.dom / DOMRect DOMRect JS 1.1 open class DOMRect : DOMRectReadOnly (source) Exposes the JavaScript DOMRect to Kotlin Constructors JS 1.1 <init> Exposes the JavaScript DOMRect to Kotlin DOMRect ( x : Double = definedExternally , y : Double = definedExternally , width : Double = definedExternally , height : Double = definedExternally ) Properties JS 1.1 height open var height : Double JS 1.1 width open var width : Double JS 1.1 x open var x : Double JS 1.1 y open var y : Double