@mocanvas/mocanvas · interface

UseImageOrVideoAssetOptions

interface UseImageOrVideoAssetOptions

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


Properties · 3

assetId: AssetId | null

The asset to resolve.

shouldResolveToOriginal?: boolean

Resolve at a higher resolution than the shape's own size.

width?: number

The shape's on-screen width, used to pick a resolution variant.

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.