DOMMatrixReadOnly
Constructors
<init>
Exposes the JavaScript DOMMatrixReadOnly to Kotlin
DOMMatrixReadOnly(numberSequence: Array<Double>)
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
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
toFloat32Array
fun toFloat32Array(): Float32Array
toFloat64Array
fun toFloat64Array(): Float64Array
transformPoint
fun transformPoint(
point: DOMPointInit = definedExternally
): DOMPoint
Inheritors
DOMMatrix
Exposes the JavaScript DOMMatrix to Kotlin
open class DOMMatrix : DOMMatrixReadOnly