DOMMatrix

JS
1.1
open class DOMMatrix : DOMMatrixReadOnly
(source)

Exposes the JavaScript DOMMatrix to Kotlin

Constructors

JS
1.1

<init>

DOMMatrix(transformList: String)
DOMMatrix(other: DOMMatrixReadOnly)
DOMMatrix(array32: Float32Array)
DOMMatrix(array64: Float64Array)
DOMMatrix(numberSequence: Array<Double>)

Exposes the JavaScript DOMMatrix to Kotlin

DOMMatrix()

Properties

JS
1.1

a

open var a: Double
JS
1.1

b

open var b: Double
JS
1.1

c

open var c: Double
JS
1.1

d

open var d: Double
JS
1.1

e

open var e: Double
JS
1.1

f

open var f: Double
JS
1.1

m11

open var m11: Double
JS
1.1

m12

open var m12: Double
JS
1.1

m13

open var m13: Double
JS
1.1

m14

open var m14: Double
JS
1.1

m21

open var m21: Double
JS
1.1

m22

open var m22: Double
JS
1.1

m23

open var m23: Double
JS
1.1

m24

open var m24: Double
JS
1.1

m31

open var m31: Double
JS
1.1

m32

open var m32: Double
JS
1.1

m33

open var m33: Double
JS
1.1

m34

open var m34: Double
JS
1.1

m41

open var m41: Double
JS
1.1

m42

open var m42: Double
JS
1.1

m43

open var m43: Double
JS
1.1

m44

open var m44: Double

Functions

JS
1.1

invertSelf

fun invertSelf(): DOMMatrix
JS
1.1

multiplySelf

fun multiplySelf(other: DOMMatrix): DOMMatrix
JS
1.1

preMultiplySelf

fun preMultiplySelf(other: DOMMatrix): DOMMatrix
JS
1.1

rotateAxisAngleSelf

fun rotateAxisAngleSelf(
    x: Double,
    y: Double,
    z: Double,
    angle: Double
): DOMMatrix
JS
1.1

rotateFromVectorSelf

fun rotateFromVectorSelf(x: Double, y: Double): DOMMatrix
JS
1.1

rotateSelf

fun rotateSelf(
    angle: Double,
    originX: Double = definedExternally,
    originY: Double = definedExternally
): DOMMatrix
JS
1.1

scale3dSelf

fun scale3dSelf(
    scale: Double,
    originX: Double = definedExternally,
    originY: Double = definedExternally,
    originZ: Double = definedExternally
): DOMMatrix
JS
1.1

scaleNonUniformSelf

fun scaleNonUniformSelf(
    scaleX: Double,
    scaleY: Double = definedExternally,
    scaleZ: Double = definedExternally,
    originX: Double = definedExternally,
    originY: Double = definedExternally,
    originZ: Double = definedExternally
): DOMMatrix
JS
1.1

scaleSelf

fun scaleSelf(
    scale: Double,
    originX: Double = definedExternally,
    originY: Double = definedExternally
): DOMMatrix
JS
1.1

setMatrixValue

fun setMatrixValue(transformList: String): DOMMatrix
JS
1.1

skewXSelf

fun skewXSelf(sx: Double): DOMMatrix
JS
1.1

skewYSelf

fun skewYSelf(sy: Double): DOMMatrix
JS
1.1

translateSelf

fun translateSelf(
    tx: Double,
    ty: Double,
    tz: Double = definedExternally
): DOMMatrix