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?: DOMMatrixInit): DOMMatrix; rotate(rotX?: number,
rotY?: number,
rotZ?: number): DOMMatrix; rotateAxisAngle(x?: number,
y?: number,
z?: number,
angle?: number): DOMMatrix; rotateFromVector(x?: number,
y?: number): DOMMatrix; scale(scaleX?: number,
scaleY?: number,
scaleZ?: number,
originX?: number,
originY?: number,
originZ?: number): DOMMatrix; scale3d(scale?: number,
originX?: number,
originY?: number,
originZ?: number): DOMMatrix; scaleNonUniform(scaleX?: number,
scaleY?: number): DOMMatrix; skewX(sx?: number): DOMMatrix; skewY(sy?: number): DOMMatrix; toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; toJSON(): any; toString(): string; transformPoint(point?: DOMPointInit): DOMPoint; translate(tx?: number,
ty?: number,
tz?: number): DOMMatrix; }
Hierarchy-Diagram
Legend
interface
public property
public method
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
rotate
- rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix
Parameters
Optional
rotX: numberOptional
rotY: numberOptional
rotZ: number
rotateAxisAngle
- rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix
Parameters
Optional
x: numberOptional
y: numberOptional
z: numberOptional
angle: number
rotateFromVector
- rotateFromVector(x?: number, y?: number): DOMMatrix
Parameters
Optional
x: numberOptional
y: number
scale
- scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix
Parameters
Optional
scaleX: numberOptional
scaleY: numberOptional
scaleZ: numberOptional
originX: numberOptional
originY: numberOptional
originZ: number
scale3d
- scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix
Parameters
Optional
scale: numberOptional
originX: numberOptional
originY: numberOptional
originZ: number
scaleNonUniform
- scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix
Parameters
Optional
scaleX: numberOptional
scaleY: number
skewX
- skewX(sx?: number): DOMMatrix
skewY
- skewY(sy?: number): DOMMatrix
toFloat32Array
- toFloat32Array(): Float32Array
toFloat64Array
- toFloat64Array(): Float64Array
toJSON
- toJSON(): any
Returns any
toString
- toString(): string
Returns string
transformPoint
- transformPoint(point?: DOMPointInit): DOMPoint
translate
- translate(tx?: number, ty?: number, tz?: number): DOMMatrix
Parameters
Optional
tx: numberOptional
ty: numberOptional
tz: number
MDN Reference