@mocanvas/mocanvas · interface

ElbowArrowInfoWithoutRoute

interface ElbowArrowInfoWithoutRoute

Everything the router derived, before it picked a route.


Properties · 8

A: ElbowArrowTargetBox
B: ElbowArrowTargetBox
common: ElbowArrowBox
gapX: number

The clear gap between the two expanded boxes on each axis; 0 when they overlap.

gapY: number
midX: number | null

The x a vertical middle leg would sit at, or null when the boxes overlap on x.

midY: number | null

The y a horizontal middle leg would sit at, or null when the boxes overlap on y.

options: ElbowArrowOptions

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.