Class GEllipse

This class represents a solid ellipse to draw to the screen. The ellipse is the largest one that can be drawn inside of a rectangle whose center is at (x,y), with the given width and height.

Constructor

class game2d.grectangle.GEllipse(**keywords)

A class representing a solid ellipse.

The ellipse is the largest one that can be drawn inside of a rectangle whose bottom center is at (x,y), with the given width and height. The interior (fill) color of this ellipse is fillcolor. If this value is None, then the ellipse is not solid. The color linecolor is the color of the border.

This class has exactly the same properties as GRectangle. See the documentation of that class and GObject for a complete list of attributes.

Attributes

This class has all of the attributes of GObject and those of GRectangle. It has no additional attributes.

Methods

This class does not have any methods beyond those defined in GObject.

Return to top level