Skip to content

textmode.js / Textmodifier / canvas

Accessor: canvas

Get Signature

ts
get canvas(): HTMLCanvasElement;

Canvas containing the rendered output.

width and height on this element are backing-store pixels. Exporters that promise logical dimensions must divide them by pixelDensity before applying their own output scale.

Returns

HTMLCanvasElement

Example