@mocanvas/editor · interface
interface IndicatorPathSource<T = never>The two members of a shape util this module cares about.
Properties · 2
getIndicatorPath?(shape: T): TLIndicatorPathResultThe v5 hook: a canvas path in shape-local coordinates.
indicator?(shape: T): unknownThe v4 hook, kept working for utils that have not been ported.
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.