DOMMatrixReadOnly

open external class DOMMatrixReadOnly (source)

Platform and version requirements: JS

Exposes the JavaScript DOMMatrixReadOnly to Kotlin

Constructors

<init>

DOMMatrixReadOnly(numberSequence: Array<Double>)

Exposes the JavaScript DOMMatrixReadOnly to Kotlin

Properties

a

open val a: Double

b

open val b: Double

c

open val c: Double

d

open val d: Double

e

open val e: Double

f

open val f: Double

is2D

open val is2D: Boolean

isIdentity

open val isIdentity: Boolean

m11

open val m11: Double

m12

open val m12: Double

m13

open val m13: Double

m14

open val m14: Double

m21

open val m21: Double

m22

open val m22: Double

m23

open val m23: Double

m24

open val m24: Double

m31

open val m31: Double

m32

open val m32: Double

m33

open val m33: Double

m34

open val m34: Double

m41

open val m41: Double

m42

open val m42: Double

m43

open val m43: Double

m44

open val m44: Double

Functions

flipX

fun flipX(): DOMMatrix

flipY

fun flipY(): DOMMatrix

inverse

fun inverse(): DOMMatrix

multiply

fun multiply(other: DOMMatrix): DOMMatrix

rotate

fun rotate(
    angle: Double,
    originX: Double = definedExternally,
    originY: Double = definedExternally
): DOMMatrix

rotateAxisAngle

fun rotateAxisAngle(
    x: Double,
    y: Double,
    z: Double,
    angle: Double
): DOMMatrix

rotateFromVector

fun rotateFromVector(x: Double, y: Double): DOMMatrix

scale

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

scale3d

fun scale3d(
    scale: Double,
    originX: Double = definedExternally,
    originY: Double = definedExternally,
    originZ: Double = definedExternally
): DOMMatrix

scaleNonUniform

fun scaleNonUniform(
    scaleX: Double,
    scaleY: Double = definedExternally,
    scaleZ: Double = definedExternally,
    originX: Double = definedExternally,
    originY: Double = definedExternally,
    originZ: Double = definedExternally
): DOMMatrix

skewX

fun skewX(sx: Double): DOMMatrix

skewY

fun skewY(sy: Double): DOMMatrix

toFloat32Array

fun toFloat32Array(): Float32Array

toFloat64Array

fun toFloat64Array(): Float64Array

transformPoint

fun transformPoint(
    point: DOMPointInit = definedExternally
): DOMPoint

translate

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

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Inheritors

DOMMatrix

open external class DOMMatrix : DOMMatrixReadOnly

Exposes the JavaScript DOMMatrix to Kotlin