@mocanvas/mocanvas · interface
interface ElbowArrowTargetBox extends ElbowArrowBoxOne end of an elbow arrow: the box it attaches to, plus how it may attach.
A terminal that is not bound to anything is still a target box — a
zero-sized one at the terminal's point, with isPoint set — so the router
has one shape of input rather than two.
Properties · 4
edges: ElbowArrowBoxEdgesisExact: booleanWhether the terminal must land exactly on ElbowArrowTargetBox.target.
isPoint: booleanWhether this end is a bare point rather than a bound shape.
target: VecThe point the arrow aims at: the anchor if bound, else the box's centre.
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.