Intermact API Reference / @intermact/core / arrow
Function: arrow()
arrow(
props):IMObject2D
Defined in: packages/core/src/geometry/primitives.ts:313
Build an arrow from from to to (design.md §5.1): an open stroked shaft plus a filled isosceles triangular head whose base is perpendicular to and bisected by the shaft. headLength is clamped to 45% of the length; headWidth defaults to 90% of the head length.