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

CanvasTransform

interface CanvasTransform {
getTransform(): DOMMatrix;
resetTransform(): void;
rotate(angle: number): void;
scale(x: number, y: number): void;
setTransform(
a: number,
b: number,
c: number,
d: number,
e: number,
f: number,
): void;
setTransform(transform?: DOMMatrix2DInit): void;
transform(
a: number,
b: number,
c: number,
d: number,
e: number,
f: number,
): void;
translate(x: number, y: number): void;
}

§Methods

§
getTransform(): DOMMatrix
[src]
§
resetTransform(): void
[src]
§
rotate(angle: number): void
[src]
§
scale(x: number, y: number): void
[src]
§
setTransform(
a: number,
b: number,
c: number,
d: number,
e: number,
f: number,
): void
[src]
§
setTransform(transform?: DOMMatrix2DInit): void
[src]
§
transform(
a: number,
b: number,
c: number,
d: number,
e: number,
f: number,
): void
[src]
§
translate(x: number, y: number): void
[src]