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.
10 lines • 464 B
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;
}
//# sourceMappingURL=ICanvasPattern.d.ts.map