@mocanvas/mocanvas · function

getDrawDisplayValues

declare function getDrawDisplayValues(editor: unknown, shape: {
    props?: unknown;
}, theme: TLTheme, colorMode: TLColorMode): DrawShapeUtilDisplayValues

Resolve a draw shape's display values against a theme.

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.