UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

22 lines 509 B
/** * Wrapper around {@link HTMLCanvasElement}, exposes {@link CanvasRenderingContext2D} */ export class CanvasView extends View<HTMLElement> { constructor(); el: HTMLCanvasElement; /** * * @type {CanvasRenderingContext2D} */ context2d: CanvasRenderingContext2D; /** * * @param {number} x * @param {number} y * @private */ private __handleSizeChange; clear(): void; } import View from "../View.js"; //# sourceMappingURL=CanvasView.d.ts.map