Skip to content

@ralphschuler.webgl shader factory.<internal>.CanvasPattern

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: CanvasPattern

@ralphschuler/webgl-shader-factory.<internal>.CanvasPattern

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

MDN Reference

Table of contents

Methods

Methods

setTransform

setTransform(transform?): void

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

MDN Reference

Parameters

Name Type
transform? DOMMatrix2DInit

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5437

Typescript Libraries

Modules

Namespaces

Clone this wiki locally