PixelDisplay.drawEllipse

From MiniScript Wiki
Revision as of 02:42, 1 May 2020 by ZachStrout (talk | contribs) (Created page with "<c>PixelDisplay.drawEllipse</c> draws (outlines) an ellipse defined by an axis-aligned rectangle on the pixel display. === Arguments === {| class="wikitable" |- ! Parame...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PixelDisplay.drawEllipse draws (outlines) an ellipse defined by an axis-aligned rectangle on the pixel display.

Arguments

Parameter Name Type Default Value Meaning
left number 0 left side of ellipse
bottom number 0 bottom side of ellipse
width number 100 ellipse width
height number 100 ellipse height
color color self.color color to draw
penSize number 1 width of line to draw

Example

gfx.drawEllipse 100, 200, 400, 150