@mocanvas/mocanvas · interface

TLStraightArrowInfo

interface TLStraightArrowInfo

A straight arrow, resolved.


Properties · 7

bindings: ArrowBindings
end: TLArrowPoint
isValid: boolean

Whether the arrow has enough body left to draw.

length: number

The body's length, after the arrowheads have been made room for.

middle: VecLike

The midpoint of the body — where the label sits by default.

start: TLArrowPoint
type: "straight"

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.