@mocanvas/mocanvas · interface
interface EmbedShapeUtilDisplayValues extends TLDefaultDisplayValuesWhat an embed shape paints with.
An embed is an iframe: the page inside it paints itself, and the only thing this shape draws is the placeholder card shown before — or instead of — that page. So those are the values it adds to the shared set.
Properties · 4
cornerRadius: numberCorner radius of the card and of the iframe, in page units.
placeholderFill: stringFill of the placeholder card.
placeholderStroke: stringBorder of the placeholder card.
placeholderTextColor: stringInk of the text on the placeholder card.
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.