@mocanvas/mocanvas · interface
interface ArrowShapeUtilDisplayValues extends TLDefaultDisplayValuesWhat an arrow paints with.
An arrow is a body, two terminals and a label, and all four are sized by the
shape's own scale, which the shared set knows nothing about. The label's
padding is here for the same reason a geo shape's is: anything measuring the
label has to agree with what draws it.
Properties · 4
labelFontFamily: stringThe label's CSS font stack.
labelFontSize: numberThe label's font size in page units, scale applied.
labelPadding: numberPadding between the body and its label, in page units.
scaledStrokeWidth: numberThe body's width in page units, scale applied.
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.