Skip to content

Function: arrowGeometry() ​

ts
function arrowGeometry(tail, head, box, o): ArrowGeometry;

The arrow from tail to head (container px): it starts where it leaves box (plus startstandoff), ends standoff before the head, and is shortened further by each drawn head's back-off, so the heads' tips land exactly on the (stood-off) ends.

Parameters ​

ParameterType
tailPoint
headPoint
boxRotatedBox | undefined
oArrowOptions

Returns ​

ArrowGeometry

Released under the MIT License.