Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ogone/src/ogone.dom.d.ts>CanvasPattern

Advanced Web Composition for Future
Latest
interface CanvasPattern
import { type CanvasPattern } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

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

Methods

setTransform(transform?: DOMMatrix2DInit): void

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