Skip to content

Function: arrowGeometry() ​

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

Experimental

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
tailScreenPoint2D
headScreenPoint2D
boxRotatedBox | undefined
oArrowOptions

Returns ​

ArrowGeometry

Released under the MIT License.