Documentation / @ripl/terminal / rasterizeEllipse
Function: rasterizeEllipse()
rasterizeEllipse(
cx,cy,rx,ry,plot):void
Defined in: terminal/src/algorithms.ts:87
Rasterizes an ellipse outline at (cx,cy) with the given radii using the midpoint algorithm.
Parameters
| Parameter | Type |
|---|---|
cx | number |
cy | number |
rx | number |
ry | number |
plot | PixelCallback |
Returns
void