Skip to content

textmode.export.js / ExportOverlayController / setPosition

Method: setPosition() ​

ts
setPosition(position): void;

Moves the export overlay to a custom canvas-relative placement and remembers that placement for future sessions on the same origin.

Parameters ​

ParameterTypeDescription
positionExportOverlayPositionInputCanvas-relative overlay offsets in CSS pixels.

Returns ​

void

Example ​