TldrawImageProps
See source codeTable of contents
Extends TLImageExportOptions.
interface TldrawImageProps extends TLImageExportOptions {}Properties
assetUrls
optional
Asset URL overrides.
assetUrls?: TLUiAssetUrlOverridesbackground
optional
from TLImageExportOptions
background?: booleanbindingUtils
optional
Additional binding utils to use.
bindingUtils?: readonly TLAnyBindingUtilConstructor[]bounds
optional
from TLImageExportOptions
bounds?: BoxdarkMode
optional
from TLImageExportOptions
darkMode?: booleanformat
optional
The image format to use. Defaults to 'svg'.
format?: 'png' | 'svg'licenseKey
optional
The license key.
licenseKey?: stringpadding
optional
from TLImageExportOptions
padding?: numberpageId
optional
The page to display. Defaults to the first page.
pageId?: TLPageIdpixelRatio
optional
from TLImageExportOptions
pixelRatio?: numberpreserveAspectRatio
optional
from TLImageExportOptions
preserveAspectRatio?: React.SVGAttributes<SVGSVGElement>['preserveAspectRatio']quality
optional
from TLImageExportOptions
quality?: numberscale
optional
from TLImageExportOptions
scale?: numbershapeUtils
optional
Additional shape utils to use.
shapeUtils?: readonly TLAnyShapeUtilConstructor[]snapshot
The snapshot to display.
snapshot: Partial<TLEditorSnapshot> | TLStoreSnapshotPrev
TldrawFileNext
TldrawUiProps