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
is2D
is2D: boolean
Readonly
isIdentity
isIdentity: boolean
Methods
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
toFloat32Array
- toFloat32Array(): Float32Array
Returns Float32Array
toFloat64Array
- toFloat64Array(): Float64Array
Returns Float64Array
toString
- toString(): string
Returns string
translate
- translate(tx?, ty?, tz?): DOMMatrix
Parameters
Optional
tx: number
Optional
ty: number
Optional
tz: number
Deprecated