UNPKG

native-canvas

Version:

A canvas library allows for a HTML canvas to run natively on NodeJs, without a WebBrowser

8 lines (7 loc) 541 B
import { WindowOptions } from '../window/window-options'; import { NativeWindow } from '../window/native-window'; export declare function cancelAnimationFrame(engine: string, request: number): void; export declare function requestAnimationFrame(engine: string, callback: FrameRequestCallback): number; export declare function alert(engine: string, message?: string): void; export declare function confirm(engine: string, message?: string): boolean; export declare function createWindow(engine: string, options: WindowOptions): NativeWindow;