@mocanvas/mocanvas · interface
interface ElbowRouteThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 4
corners: Vec[]Corner points from start to end, before the corners are rounded.
midLeg: [Vec, Vec] | nullThe middle leg, when the route has one; null for an L or a straight run.
points: Vec[]The drawn polyline: corners with each corner replaced by a fillet.
slideAxis: ElbowAxis | nullThe axis the middle leg slides along, null when there is no middle leg.
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.