Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface DOMMatrixReadOnly
import { type DOMMatrixReadOnly } from "https://deno.land/x/canvaseno@v1.0.2/mod.ts";

Properties

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

Methods

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
deprecated
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
toString(): string