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;
transformPoint(point?: DOMPointInit): DOMPoint;
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
}
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;
transformPoint(point?: DOMPointInit): DOMPoint;
translate(tx?: number, ty?: number, tz?: number): 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
flipY
inverse
multiply
- multiply(other?): DOMMatrix
Parameters
Optional
other: DOMMatrixInit
Returns DOMMatrix
rotate
rotateAxisAngle
rotateFromVector
scale
scale3d
scaleNonUniform
skewX
skewY
toFloat32Array
- to
Float32 (): Float32ArrayArray Returns Float32Array
toFloat64Array
- to
Float64 (): Float64ArrayArray Returns Float64Array
toJSON
transformPoint
- transform
Point (point?): DOMPoint Parameters
Optional
point: DOMPointInit
Returns DOMPoint
MDN Reference