跳转到内容

copyCanvasElement

copyCanvasElement(canvas): HTMLCanvasElement

Parameters

canvas: HTMLCanvasElement

to copy size and content of

Returns

HTMLCanvasElement

initialized canvas element

Defined in

src/util/misc/dom.ts:28