@mocanvas/mocanvas · function
declare function getArrowInfo(editor: Editor, shape: ArrowShape | ShapeId): TLArrowInfo | undefinedResolve an arrow to the geometry everything downstream draws from.
Returns undefined for a shape that is not an arrow, so a caller can pass
whatever it has selected.
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.