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

DOMMatrixReadOnly

interface DOMMatrixReadOnly {
readonly a: number;
readonly b: number;
readonly c: number;
readonly d: number;
readonly e: number;
readonly f: number;
readonly is2D: boolean;
readonly isIdentity: boolean;
readonly m11: number;
readonly m12: number;
readonly m13: number;
readonly m14: number;
readonly m21: number;
readonly m22: number;
readonly m23: number;
readonly m24: number;
readonly m31: number;
readonly m32: number;
readonly m33: number;
readonly m34: number;
readonly m41: number;
readonly m42: number;
readonly m43: number;
readonly 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;
}
var DOMMatrixReadOnly: {
prototype: DOMMatrixReadOnly;
new (init?: string | number[]): DOMMatrixReadOnly;
fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
toString(): string;
}
;

§Properties

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

§Methods

§
inverse(): DOMMatrix
[src]
§
multiply(other?: DOMMatrixInit): DOMMatrix
[src]
§
rotate(
rotX?: number,
rotY?: number,
rotZ?: number,
): DOMMatrix
[src]
§
rotateAxisAngle(
x?: number,
y?: number,
z?: number,
angle?: number,
): DOMMatrix
[src]
§
rotateFromVector(x?: number, y?: number): DOMMatrix
[src]
§
scale(
scaleX?: number,
scaleY?: number,
scaleZ?: number,
originX?: number,
originY?: number,
originZ?: number,
): DOMMatrix
[src]
§
scale3d(
scale?: number,
originX?: number,
originY?: number,
originZ?: number,
): DOMMatrix
[src]
§
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix
[src]
§
skewX(sx?: number): DOMMatrix
[src]
§
skewY(sy?: number): DOMMatrix
[src]
§
toFloat32Array(): Float32Array
[src]
§
toFloat64Array(): Float64Array
[src]
§
toJSON(): any
[src]
§
toString(): string
[src]
§
transformPoint(point?: DOMPointInit): DOMPoint
[src]
§
translate(
tx?: number,
ty?: number,
tz?: number,
): DOMMatrix
[src]