Documentation / @ripl/terminal / rasterizePolyline
Function: rasterizePolyline() ​
rasterizePolyline(
points,plot):void
Defined in: terminal/src/algorithms.ts:189
Rasterizes a polyline by drawing a line between each consecutive pair of points.
Parameters ​
| Parameter | Type |
|---|---|
points | Vertex[] |
plot | PixelCallback |
Returns ​
void