DOMRectReadOnly

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

Exposes the JavaScript DOMRectReadOnly to Kotlin

Since Kotlin

1.1

Inheritors

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

Exposes the JavaScript DOMRectReadOnly to Kotlin

Since Kotlin

1.8

Inheritors

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, width: Double, height: Double)
constructor(x: Double, y: Double, width: Double, height: Double)

Properties

Link copied to clipboard
open val bottom: Double
Since Kotlin 1.1
open val bottom: Double
Since Kotlin 1.8
Link copied to clipboard
open val height: Double
Since Kotlin 1.1
open val height: Double
Since Kotlin 1.8
Link copied to clipboard
open val left: Double
Since Kotlin 1.1
open val left: Double
Since Kotlin 1.8
Link copied to clipboard
open val right: Double
Since Kotlin 1.1
open val right: Double
Since Kotlin 1.8
Link copied to clipboard
open val top: Double
Since Kotlin 1.1
open val top: Double
Since Kotlin 1.8
Link copied to clipboard
open val width: Double
Since Kotlin 1.1
open val width: Double
Since Kotlin 1.8
Link copied to clipboard
open val x: Double
Since Kotlin 1.1
open val x: Double
Since Kotlin 1.8
Link copied to clipboard
open val y: Double
Since Kotlin 1.1
open val y: Double
Since Kotlin 1.8

Functions

Link copied to clipboard

For a Dynamic value caught in JS, returns the corresponding Throwable if it was thrown from Kotlin, or null otherwise.

Since Kotlin 1.8
Link copied to clipboard
fun <T : JsAny> JsAny.unsafeCast(): T

Cast JsAny to other Js type without runtime check

Since Kotlin 1.8