@mocanvas/mocanvas · function
declare function getArrowBindingTargetAtPoint(editor: Editor, arrow: UnknownShape, pagePoint: VecLike): UnknownShape | undefinedThe topmost shape an arrow terminal dropped at pagePoint should bind to,
or undefined. Candidates must accept arrow bindings, may not be arrows,
the arrow itself, or one of the arrow's ancestors, and are hit inside their
outline (or within the hit-test margin of it) regardless of fill, so an arrow
can attach to a hollow rectangle by pointing into it.
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.