ArrowTargetState
See source codeTable of contents
State representing what we're pointing to when drawing or updating an arrow. You can get this state using getArrowTargetState, and update it as part of an arrow interaction with updateArrowTargetState or clearArrowTargetState.
interface ArrowTargetState {}Properties
anchorInPageSpace
anchorInPageSpace: VecLikearrowKind
arrowKind: TLArrowShapeKindcenterInPageSpace
centerInPageSpace: VecLikehandlesInPageSpace
handlesInPageSpace: {
bottom: {
isEnabled: boolean
point: VecLike
}
left: {
isEnabled: boolean
point: VecLike
}
right: {
isEnabled: boolean
point: VecLike
}
top: {
isEnabled: boolean
point: VecLike
}
}isExact
isExact: booleanisPrecise
isPrecise: booleannormalizedAnchor
normalizedAnchor: VecLikesnap
snap: ElbowArrowSnaptarget
target: TLShapePrev
ArrowShapeOptionsNext
BasePathBuilderOpts