@mocanvas/mocanvas · interface

ImageShapeProps

interface ImageShapeProps

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


Properties · 9

altText: string
assetId: AssetId | null

The image asset holding the pixels; null while nothing is attached.

crop: ImageCrop | null
flipX: boolean
flipY: boolean
h: number
playing: boolean

Whether an animated image plays.

url: string

A hyperlink attached to the shape (not the image source).

w: number

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.