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

CanvasPattern

An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.

interface CanvasPattern {
setTransform(transform?: DOMMatrix2DInit): void;
}
var CanvasPattern: {
prototype: CanvasPattern;
new (): CanvasPattern;
}
;

§Methods

§
setTransform(transform?: DOMMatrix2DInit): void
[src]

Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.