TLArrowShapeProps
See source codeTable of contents
Properties specific to arrow shapes.
Defines all the configurable aspects of an arrow shape, including visual styling, geometry, text labeling, and positioning. Arrows can connect two points and optionally display text labels.
interface TLArrowShapeProps {}Example
const arrowProps: TLArrowShapeProps = {
kind: 'arc',
labelColor: 'black',
color: 'blue',
fill: 'none',
dash: 'solid',
size: 'm',
arrowheadStart: 'none',
arrowheadEnd: 'arrow',
font: 'draw',
start: { x: 0, y: 0 },
end: { x: 100, y: 100 },
bend: 0.2,
richText: toRichText('Label'),
labelPosition: 0.5,
scale: 1,
elbowMidPoint: 0.5,
}Properties
arrowheadEnd
arrowheadEnd: TLArrowShapeArrowheadStylearrowheadStart
arrowheadStart: TLArrowShapeArrowheadStylebend
bend: numbercolor
color: TLDefaultColorStyledash
dash: TLDefaultDashStyleelbowMidPoint
elbowMidPoint: numberend
end: VecModelfill
fill: TLDefaultFillStylefont
font: TLDefaultFontStylekind
kind: TLArrowShapeKindlabelColor
labelColor: TLDefaultColorStylelabelPosition
labelPosition: numberrichText
richText: TLRichTextscale
scale: numbersize
size: TLDefaultSizeStylestart
start: VecModelPrev
TLArrowBindingPropsNext
TLAssetContext