Methods
createApp
- createApp(element): App
Parameters
- element: HTMLCanvasElement
Returns App
App
createLocalApp
- createLocalApp(width, height): LocalApp
Parameters
- width: number
- height: number
LocalApp
init
- init(canvasKitWasmFile): Promise<CarEngine>
Parameters
- canvasKitWasmFile: string
the engine object.
use
- use(plugin): this
Returns this
this
The engine that drive CanvasKit-WASM