Interface DOMMatrixReadOnly
interface DOMMatrixReadOnly { a: number; b: number; c: number; d: number; e: number; f: number; is2D: boolean; isIdentity: boolean; m11: number; m12: number; m13: number; m14: number; m21: number; m22: number; m23: number; m24: number; m31: number; m32: number; m33: number; m34: number; m41: number; m42: number; m43: number; m44: number; flipX(): DOMMatrix; flipY(): DOMMatrix; inverse(): DOMMatrix; multiply(other?): DOMMatrix; rotate(rotX?,
rotY?,
rotZ?): DOMMatrix; rotateAxisAngle(x?,
y?,
z?,
angle?): DOMMatrix; rotateFromVector(x?,
y?): DOMMatrix; scale(scaleX?,
scaleY?,
scaleZ?,
originX?,
originY?,
originZ?): DOMMatrix; scale3d(scale?,
originX?,
originY?,
originZ?): DOMMatrix; scaleNonUniform(scaleX?,
scaleY?): DOMMatrix; skewX(sx?): DOMMatrix; skewY(sy?): DOMMatrix; toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; toJSON(): any; toString(): string; transformPoint(point?): DOMPoint; translate(tx?,
ty?,
tz?): DOMMatrix; } Properties
Readonly
a
a: number
Readonly
b
b: number
Readonly
c
c: number
Readonly
d
d: number
Readonly
e
e: number
Readonly
f
f: number
Readonly
is2D
is2D: boolean
Readonly
isIdentity
isIdentity: boolean
Readonly
m11
m11: number
Readonly
m12
m12: number
Readonly
m13
m13: number
Readonly
m14
m14: number
Readonly
m21
m21: number
Readonly
m22
m22: number
Readonly
m23
m23: number
Readonly
m24
m24: number
Readonly
m31
m31: number
Readonly
m32
m32: number
Readonly
m33
m33: number
Readonly
m34
m34: number
Readonly
m41
m41: number
Readonly
m42
m42: number
Readonly
m43
m43: number
Readonly
m44
m44: number
Methods
flipX
- flipX(): DOMMatrix
flipY
- flipY(): DOMMatrix
inverse
- inverse(): DOMMatrix
multiply
- multiply(other?): DOMMatrix
rotate
- rotate(rotX?, rotY?, rotZ?): DOMMatrix
Parameters
Optional
rotX: number
Optional
rotY: number
Optional
rotZ: number
rotateAxisAngle
- rotateAxisAngle(x?, y?, z?, angle?): DOMMatrix
Parameters
Optional
x: number
Optional
y: number
Optional
z: number
Optional
angle: number
rotateFromVector
- rotateFromVector(x?, y?): DOMMatrix
Parameters
Optional
x: number
Optional
y: number
scale
- scale(scaleX?, scaleY?, scaleZ?, originX?, originY?, originZ?): DOMMatrix
Parameters
Optional
scaleX: number
Optional
scaleY: number
Optional
scaleZ: number
Optional
originX: number
Optional
originY: number
Optional
originZ: number
scale3d
- scale3d(scale?, originX?, originY?, originZ?): DOMMatrix
Parameters
Optional
scale: number
Optional
originX: number
Optional
originY: number
Optional
originZ: number
scaleNonUniform
- scaleNonUniform(scaleX?, scaleY?): DOMMatrix
Parameters
Optional
scaleX: number
Optional
scaleY: number
skewX
- skewX(sx?): DOMMatrix
skewY
- skewY(sy?): DOMMatrix
toFloat32Array
- toFloat32Array(): Float32Array
Returns Float32Array
toFloat64Array
- toFloat64Array(): Float64Array
Returns Float64Array
toJSON
- toJSON(): any
Returns any
toString
- toString(): string
Returns string
transformPoint
- transformPoint(point?): DOMPoint
translate
- translate(tx?, ty?, tz?): DOMMatrix
Parameters
Optional
tx: number
Optional
ty: number
Optional
tz: number
Deprecated