DOMMatrix

open external class DOMMatrix : DOMMatrixReadOnly(source)

Exposes the JavaScript DOMMatrix to Kotlin

Since Kotlin

1.1
open external class DOMMatrix : DOMMatrixReadOnly, JsAny(source)

Exposes the JavaScript DOMMatrix to Kotlin

Since Kotlin

1.8

Constructors

Link copied to clipboard
constructor(transformList: String)
constructor(other: DOMMatrixReadOnly)
constructor(array32: Float32Array)
constructor(array64: Float64Array)
constructor(numberSequence: Array<Double>)
constructor()
constructor(transformList: String)
constructor(other: DOMMatrixReadOnly)
constructor(array32: Float32Array)
constructor(array64: Float64Array)
constructor(numberSequence: JsArray<JsNumber>)
constructor()

Properties

Link copied to clipboard
open override var a: Double
Since Kotlin 1.1
open override var a: Double
Since Kotlin 1.8
Link copied to clipboard
open override var b: Double
Since Kotlin 1.1
open override var b: Double
Since Kotlin 1.8
Link copied to clipboard
open override var c: Double
Since Kotlin 1.1
open override var c: Double
Since Kotlin 1.8
Link copied to clipboard
open override var d: Double
Since Kotlin 1.1
open override var d: Double
Since Kotlin 1.8
Link copied to clipboard
open override var e: Double
Since Kotlin 1.1
open override var e: Double
Since Kotlin 1.8
Link copied to clipboard
open override var f: Double
Since Kotlin 1.1
open override var f: Double
Since Kotlin 1.8
Link copied to clipboard
open val is2D: Boolean
Since Kotlin 1.1
open val is2D: Boolean
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open override var m11: Double
Since Kotlin 1.1
open override var m11: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m12: Double
Since Kotlin 1.1
open override var m12: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m13: Double
Since Kotlin 1.1
open override var m13: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m14: Double
Since Kotlin 1.1
open override var m14: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m21: Double
Since Kotlin 1.1
open override var m21: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m22: Double
Since Kotlin 1.1
open override var m22: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m23: Double
Since Kotlin 1.1
open override var m23: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m24: Double
Since Kotlin 1.1
open override var m24: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m31: Double
Since Kotlin 1.1
open override var m31: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m32: Double
Since Kotlin 1.1
open override var m32: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m33: Double
Since Kotlin 1.1
open override var m33: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m34: Double
Since Kotlin 1.1
open override var m34: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m41: Double
Since Kotlin 1.1
open override var m41: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m42: Double
Since Kotlin 1.1
open override var m42: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m43: Double
Since Kotlin 1.1
open override var m43: Double
Since Kotlin 1.8
Link copied to clipboard
open override var m44: Double
Since Kotlin 1.1
open override var m44: Double
Since Kotlin 1.8

Functions

Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun rotate(angle: Double, originX: Double = definedExternally, originY: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun rotate(angle: Double, originX: Double = definedExternally, originY: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun rotateSelf(angle: Double, originX: Double = definedExternally, originY: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun rotateSelf(angle: Double, originX: Double = definedExternally, originY: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
fun scale(scale: Double, originX: Double = definedExternally, originY: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun scale(scale: Double, originX: Double = definedExternally, originY: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
fun scale3d(scale: Double, originX: Double = definedExternally, originY: Double = definedExternally, originZ: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun scale3d(scale: Double, originX: Double = definedExternally, originY: Double = definedExternally, originZ: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
fun scale3dSelf(scale: Double, originX: Double = definedExternally, originY: Double = definedExternally, originZ: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun scale3dSelf(scale: Double, originX: Double = definedExternally, originY: Double = definedExternally, originZ: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
fun scaleNonUniform(scaleX: Double, scaleY: Double = definedExternally, scaleZ: Double = definedExternally, originX: Double = definedExternally, originY: Double = definedExternally, originZ: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun scaleNonUniform(scaleX: Double, scaleY: Double = definedExternally, scaleZ: Double = definedExternally, originX: Double = definedExternally, originY: Double = definedExternally, originZ: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
fun scaleNonUniformSelf(scaleX: Double, scaleY: Double = definedExternally, scaleZ: Double = definedExternally, originX: Double = definedExternally, originY: Double = definedExternally, originZ: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun scaleNonUniformSelf(scaleX: Double, scaleY: Double = definedExternally, scaleZ: Double = definedExternally, originX: Double = definedExternally, originY: Double = definedExternally, originZ: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
fun scaleSelf(scale: Double, originX: Double = definedExternally, originY: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun scaleSelf(scale: Double, originX: Double = definedExternally, originY: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
fun setMatrixValue(transformList: String): DOMMatrix
Since Kotlin 1.1
fun setMatrixValue(transformList: String): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
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 transformPoint(point: DOMPointInit = definedExternally): DOMPoint
Since Kotlin 1.1
fun transformPoint(point: DOMPointInit = definedExternally): DOMPoint
Since Kotlin 1.8
Link copied to clipboard
fun translate(tx: Double, ty: Double, tz: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun translate(tx: Double, ty: Double, tz: Double = definedExternally): DOMMatrix
Since Kotlin 1.8
Link copied to clipboard
fun translateSelf(tx: Double, ty: Double, tz: Double = definedExternally): DOMMatrix
Since Kotlin 1.1
fun translateSelf(tx: Double, ty: Double, tz: Double = definedExternally): DOMMatrix
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