@mocanvas/mocanvas · function

getTextDisplayValues

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

Resolve a text shape's display values; see TextShapeUtilDisplayValues.

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.