@mocanvas/mocanvas · interface

ArrowShapeProps

interface ArrowShapeProps

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 17

arrowheadEnd: ArrowheadKind
arrowheadStart: ArrowheadKind
bend: number
color: DefaultColorStyle
dash: DefaultDashStyle
elbowMidPoint: number

Where an elbow's middle leg sits along the routing axis, 0..1; unused by "arc".

end: {

Static end terminal in arrow-local space; ignored while the terminal is bound.

fill: DefaultFillStyle
font: DefaultFontStyle
kind: ArrowKind

How the body is routed: "arc" bows from start to end by bend, "elbow" runs in axis-aligned legs (and ignores bend).

labelColor: DefaultColorStyle
labelPosition: number
richText: RichText

The label as a rich-text document; see NoteShapeProps.richText.

scale: number
size: DefaultSizeStyle
start: {

Static start terminal in arrow-local space; ignored while the terminal is bound.

text?: string

The label as plain text — optional and derived; see NoteShapeProps.text.

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.