UNPKG

@lightningjs/renderer

Version:
10 lines (9 loc) 478 B
import { Platform } from '../Platform.js'; import type { Stage } from '../../Stage.js'; export declare class WebPlatform extends Platform { createCanvas(): HTMLCanvasElement; getElementById(id: string): HTMLElement | null; startLoop(stage: Stage): void; createImageBitmap(blob: ImageBitmapSource, sxOrOptions?: number | ImageBitmapOptions, sy?: number, sw?: number, sh?: number, options?: ImageBitmapOptions): Promise<ImageBitmap>; getTimeStamp(): number; }