copyCanvasElement
copyCanvasElement(
canvas
):HTMLCanvasElement
Defined in: src/util/misc/dom.ts:28
Creates a canvas element that is a copy of another and is also painted
Parameters
canvas
HTMLCanvasElement
to copy size and content of
Returns
HTMLCanvasElement
initialized canvas element