@mocanvas/editor · type

TLIndicatorPathResult

type TLIndicatorPathResult = Path2D | TLIndicatorPath | undefined

What ShapeUtil.getIndicatorPath may return: a bare Path2D (the common case), a composed TLIndicatorPath, or undefined to draw nothing.

undefined means "nothing", not "use the default": a util that wants the default bounds rectangle simply does not implement the method at all.

Mentioned here

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.