@mocanvas/mocanvas · interface

TLElbowArrowInfo

interface TLElbowArrowInfo

The elbow member of the arrow-info union — what getArrowInfo returns for an arrow whose kind is "elbow", alongside the arc and straight members.


Properties · 5

end: VecLike

The end terminal in the arrow's own space, after binding resolution.

isValid: boolean

Whether the arrow could be routed at all; a degenerate arrow is not drawn.

route: ElbowArrowRoute

The routed body.

start: VecLike

The start terminal in the arrow's own space, after binding resolution.

type: "elbow"

Discriminates this from the arc and straight members.

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.