Draws an ellipse outline on the image.
ellipse(cx, cy, width, height, color)
cx, cy: Center pointwidth: Width of the ellipseheight: Height of the ellipsecolor: Color allocated via image.color(r,g,b,a=0)img = GD::Image.new(400,300)
green = img.color(0,255,0)
img.ellipse(200,150,100,80,green)
img.save("ellipse.png")
This method maps to gdImageEllipse in libgd.