ellipse()

Description

Draws an ellipse (oval) in the display window. An ellipse with an equal width and height is a circle. The first two parameters set the location, the third sets the width, and the fourth sets the height.

Syntax


ellipse(x, y, width, height)


Parameters
x – The x-coordinate of the ellipse
y – The y-coordinate of the ellipse
width – width of the ellipse
height – height of the ellipse

Returns
none

Related
none




Edit History