Function: computeEnd()
ts
function computeEnd(dIn, dOut, isJoin, halfWidth, join, cap, miterLimit): SegmentEnd;Experimental
Join/cap data at one vertex. dIn is the direction arriving at the vertex, dOut the direction leaving it; both segments sharing the vertex call this with the same arguments.
Parameters
| Parameter | Type |
|---|---|
dIn | V2 |
dOut | V2 |
isJoin | boolean |
halfWidth | number |
join | LineJoin |
cap | LineCap |
miterLimit | number |