Skip to content

textmode.js / Textmodifier / ellipse

Method: ellipse()

ts
ellipse(width?, height?): void;

Draw an ellipse with the current settings. Position is controlled via translate, push, and pop.

Parameters

ParameterTypeDescription
width?numberEllipse width in grid cells. Defaults to 1.
height?numberEllipse height in grid cells. Defaults to 1.

Returns

void

Example