Type alias OnDetermineExportRectListener

OnDetermineExportRectListener: ((exportRect, options?) => void)

Called when a new estimate for the import/export rect has been generated. This can be called multiple times. Only the last call to this listener must be accurate. The import/export rect is also returned by [start].

Note: In a future release, the options parameter may be required.

Type declaration

    • (exportRect, options?): void
    • Parameters

      • exportRect: Rect2
      • Optional options: {
            autoresize: boolean;
        }
        • autoresize: boolean

      Returns void

Generated using TypeDoc

OpenSource licenses