@mocanvas/mocanvas · function

getHighlightDisplayValues

declare function getHighlightDisplayValues(editor: unknown, shape: {
    props?: unknown;
}, theme: TLTheme, colorMode: TLColorMode, options?: HighlightShapeOptions): HighlightShapeUtilDisplayValues

Resolve a highlight'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.