TLArrowInfo
Public typealias
Signature
type TLArrowInfo =
| {
isStraight: false
start: TLArrowPoint
end: TLArrowPoint
middle: VecLike
handleArc: TLArcInfo
bodyArc: TLArcInfo
isValid: boolean
}
| {
isStraight: true
start: TLArrowPoint
end: TLArrowPoint
middle: VecLike
isValid: boolean
length: number
}
References
TLArrowPoint, VecLike, TLArcInfo
Source
packages/editor/src/lib/editor/shapes/shared/arrow/arrow-types.ts