Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DOMMatrix

interface DOMMatrix extends DOMMatrixReadOnly {
a: number;
b: number;
c: number;
d: number;
e: number;
f: number;
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;
invertSelf(): DOMMatrix;
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
rotateAxisAngleSelf(
x?: number,
y?: number,
z?: number,
angle?: number,
): DOMMatrix;
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
rotateSelf(
rotX?: number,
rotY?: number,
rotZ?: number,
): DOMMatrix;
scale3dSelf(
scale?: number,
originX?: number,
originY?: number,
originZ?: number,
): DOMMatrix;
scaleSelf(
scaleX?: number,
scaleY?: number,
scaleZ?: number,
originX?: number,
originY?: number,
originZ?: number,
): DOMMatrix;
setMatrixValue(transformList: string): DOMMatrix;
skewXSelf(sx?: number): DOMMatrix;
skewYSelf(sy?: number): DOMMatrix;
translateSelf(
tx?: number,
ty?: number,
tz?: number,
): DOMMatrix;
}
var DOMMatrix: {
prototype: DOMMatrix;
new (init?: string | number[]): DOMMatrix;
fromFloat32Array(array32: Float32Array): DOMMatrix;
fromFloat64Array(array64: Float64Array): DOMMatrix;
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
}
;

§Extends

§Properties

§
a: number
[src]
§
b: number
[src]
§
c: number
[src]
§
d: number
[src]
§
e: number
[src]
§
f: number
[src]
§
m11: number
[src]
§
m12: number
[src]
§
m13: number
[src]
§
m14: number
[src]
§
m21: number
[src]
§
m22: number
[src]
§
m23: number
[src]
§
m24: number
[src]
§
m31: number
[src]
§
m32: number
[src]
§
m33: number
[src]
§
m34: number
[src]
§
m41: number
[src]
§
m42: number
[src]
§
m43: number
[src]
§
m44: number
[src]

§Methods

§
invertSelf(): DOMMatrix
[src]
§
multiplySelf(other?: DOMMatrixInit): DOMMatrix
[src]
§
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix
[src]
§
rotateAxisAngleSelf(
x?: number,
y?: number,
z?: number,
angle?: number,
): DOMMatrix
[src]
§
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix
[src]
§
rotateSelf(
rotX?: number,
rotY?: number,
rotZ?: number,
): DOMMatrix
[src]
§
scale3dSelf(
scale?: number,
originX?: number,
originY?: number,
originZ?: number,
): DOMMatrix
[src]
§
scaleSelf(
scaleX?: number,
scaleY?: number,
scaleZ?: number,
originX?: number,
originY?: number,
originZ?: number,
): DOMMatrix
[src]
§
setMatrixValue(transformList: string): DOMMatrix
[src]
§
skewXSelf(sx?: number): DOMMatrix
[src]
§
skewYSelf(sy?: number): DOMMatrix
[src]
§
translateSelf(
tx?: number,
ty?: number,
tz?: number,
): DOMMatrix
[src]