Skip to content

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

ParameterType
cxnumber
cynumber
rxnumber
rynumber
plotPixelCallback

Returns

void