Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/canvaseno/types.ts>DOMMatrix

Canvas API for deno
Latest
interface DOMMatrix
implements DOMMatrixReadOnly
import { type DOMMatrix } from "https://deno.land/x/canvaseno@v1.0.2/types.ts";

Properties

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

Methods

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