Interface DOMMatrix
interface 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;
invertSelf(): DOMMatrix;
multiply(other?: DOMMatrixInit): DOMMatrix;
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
rotateFromVector(x?: number, y?: number): DOMMatrix;
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
rotateSelf(rotX?: number, rotY?: number, rotZ?: 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;
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
skewX(sx?: number): DOMMatrix;
skewXSelf(sx?: number): DOMMatrix;
skewY(sy?: number): DOMMatrix;
skewYSelf(sy?: number): DOMMatrix;
toFloat32Array(): Float32Array;
toFloat64Array(): Float64Array;
toJSON(): any;
transformPoint(point?: DOMPointInit): DOMPoint;
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
translateSelf(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;
invertSelf(): DOMMatrix;
multiply(other?: DOMMatrixInit): DOMMatrix;
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
rotateFromVector(x?: number, y?: number): DOMMatrix;
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
rotateSelf(rotX?: number, rotY?: number, rotZ?: 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;
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
skewX(sx?: number): DOMMatrix;
skewXSelf(sx?: number): DOMMatrix;
skewY(sy?: number): DOMMatrix;
skewYSelf(sy?: number): DOMMatrix;
toFloat32Array(): Float32Array;
toFloat64Array(): Float64Array;
toJSON(): any;
transformPoint(point?: DOMPointInit): DOMPoint;
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;
}
Hierarchy
- DOMMatrixReadOnly
- DOMMatrix (view full)
Index
Properties
Methods
flipX
flipY
inverse
invertSelf
multiply
multiplySelf
preMultiplySelf
rotate
rotateAxisAngle
rotateAxisAngleSelf
rotateFromVector
rotateFromVectorSelf
rotateSelf
scale
scale3d
scale3dSelf
scaleNonUniform
scaleSelf
skewX
skewXSelf
skewY
skewYSelf
toFloat32Array
toFloat64Array
toJSON
transformPoint
translate
translateSelf
Properties
a
a: number
b
b: number
c
c: number
d
d: number
e
e: number
f
f: number
Readonly
is2D
is2D: boolean
Readonly
isIdentity
isIdentity : boolean
m11
m11: number
m12
m12: number
m13
m13: number
m14
m14: number
m21
m21: number
m22
m22: number
m23
m23: number
m24
m24: number
m31
m31: number
m32
m32: number
m33
m33: number
m34
m34: number
m41
m41: number
m42
m42: number
m43
m43: number
m44
m44: number
Methods
flipX
flipY
inverse
invertSelf
multiply
- multiply(other?): DOMMatrix
Parameters
Optional
other: DOMMatrixInit
Returns DOMMatrix
multiplySelf
- multiply
Self (other?): DOMMatrix Parameters
Optional
other: DOMMatrixInit
Returns DOMMatrix
preMultiplySelf
- pre
Multiply (other?): DOMMatrixSelf Parameters
Optional
other: DOMMatrixInit
Returns DOMMatrix
rotate
rotateAxisAngle
rotateAxisAngleSelf
rotateFromVector
rotateFromVectorSelf
rotateSelf
scale
scale3d
scale3dSelf
scaleNonUniform
scaleSelf
skewX
skewXSelf
skewY
skewYSelf
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