DOMMatrix
Constructors
<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
a
open var a: Double
b
open var b: Double
c
open var c: Double
d
open var d: Double
e
open var e: Double
f
open var f: Double
m11
open var m11: Double
m12
open var m12: Double
m13
open var m13: Double
m14
open var m14: Double
m21
open var m21: Double
m22
open var m22: Double
m23
open var m23: Double
m24
open var m24: Double
m31
open var m31: Double
m32
open var m32: Double
m33
open var m33: Double
m34
open var m34: Double
m41
open var m41: Double
m42
open var m42: Double
m43
open var m43: Double
m44
open var m44: Double
Functions
invertSelf
fun invertSelf(): DOMMatrix
rotateAxisAngleSelf
fun rotateAxisAngleSelf(
x: Double,
y: Double,
z: Double,
angle: Double
): DOMMatrix
rotateFromVectorSelf
fun rotateFromVectorSelf(x: Double, y: Double): DOMMatrix
rotateSelf
fun rotateSelf(
angle: Double,
originX: Double = definedExternally,
originY: Double = definedExternally
): DOMMatrix
scale3dSelf
fun scale3dSelf(
scale: Double,
originX: Double = definedExternally,
originY: Double = definedExternally,
originZ: Double = definedExternally
): DOMMatrix
scaleNonUniformSelf
fun scaleNonUniformSelf(
scaleX: Double,
scaleY: Double = definedExternally,
scaleZ: Double = definedExternally,
originX: Double = definedExternally,
originY: Double = definedExternally,
originZ: Double = definedExternally
): DOMMatrix
scaleSelf
fun scaleSelf(
scale: Double,
originX: Double = definedExternally,
originY: Double = definedExternally
): DOMMatrix
setMatrixValue
fun setMatrixValue(transformList: String): DOMMatrix
translateSelf
fun translateSelf(
tx: Double,
ty: Double,
tz: Double = definedExternally
): DOMMatrix