Function: fillLineWidths()
ts
function fillLineWidths(layout, width, out): void;Experimental
Fill per-stream-vertex widths. The segment from stream vertex v to v + 1 uses the width of v's source point, i.e. input width[i] styles the segment leaving point i.
Parameters
| Parameter | Type |
|---|---|
layout | Pick<LineLayout, "vertexCount" | "source"> & object |
width | ScalarInput |
out | Float32Array |
Returns
void