ElbowArrowTargetBox

See source code
Table of contents

Extends ElbowArrowBox.

interface ElbowArrowTargetBox extends ElbowArrowBox {}

Properties

arrowheadOffset

How far away from this box should the arrow terminate to leave space for the arrowhead?

arrowheadOffset: number;

edges

The usable edges of the box.

edges: ElbowArrowBoxEdges;

expanded

The bounding box, expanded by ArrowShapeOptions.expandElbowLegLength.

expanded: Box;

geometry

The geometry of the bound shape, in arrow space.

geometry: Geometry2d | null;

isExact

If true, the arrow should end at target. If false, the arrow should end at the edge of the shape, pointing at target.

isExact: boolean;

isPoint

Are we treating this target as a single point in space rather than a bounding box?

isPoint: boolean;

minEndSegmentLength

The minimum length of the segment of the arrow that actually reaches the target - and has the arrowhead on it.

minEndSegmentLength: number;

original

The original bounding box

original: Box;

target

What specific point in the box are we aiming for?

target: Vec;

Prev
ElbowArrowRoute
Next
EmbedDefinition