ArrowTargetState
Table 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: VecLike;arrowKind
arrowKind: TLArrowShapeKind;centerInPageSpace
centerInPageSpace: VecLike;handlesInPageSpace
handlesInPageSpace: {
bottom: {
isEnabled: boolean;
point: VecLike;
};
left: {
isEnabled: boolean;
point: VecLike;
};
right: {
isEnabled: boolean;
point: VecLike;
};
top: {
isEnabled: boolean;
point: VecLike;
};
};isExact
isExact: boolean;isPrecise
isPrecise: boolean;normalizedAnchor
normalizedAnchor: VecLike;snap
snap: ElbowArrowSnap;target
target: TLShape;Prev
ArrowShapeOptionsNext
BasePathBuilderOpts