happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
11 lines (9 loc) • 418 B
text/typescript
import type DOMMatrix from '../dom/dom-matrix/DOMMatrix.js';
/**
* The CanvasPattern interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern
*/
export default interface ICanvasPattern {
setTransform(transform?: DOMMatrix): void;
}