@mocanvas/mocanvas · interface

ImageShapeUtilDisplayValues

interface ImageShapeUtilDisplayValues extends TLDefaultDisplayValues

What an image shape paints with.

An image has no styles at all — the pixels are the picture — so the only values it adds are the placeholder it draws while there is nothing to show.


Properties · 2

placeholderFill: string

Fill of the frame drawn while the image has no asset or is still loading.

placeholderStroke: string

Border of that placeholder.

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.