@mocanvas/mocanvas · interface

ExternalContentOptions

interface ExternalContentOptions

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 5

fallbackImageSize?: ImageSize

Fallback size when an image's dimensions cannot be read.

loadImageSize?: ImageSizeLoader
maxImageDimension?: number

Longest side an inserted image may have, in page units.

readFileAsDataUrl?: (file: File) => Promise<string>
stackOffset?: number

Offset between shapes when several are inserted at the same point.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.