Class GEllipse


Instances represent a solid ellipse.

The ellipse is the largest one that can be drawn inside of a rectangle whose bottom left corner is at (x,y), with the given width and height. The interior (fill) color of this ellipse is fillcolor, while linecolor is the color of the border.

For more fine-grained rectangle placement, you should make use of the attributes center_x, center_y, right, and top, all inherited from GObject. See that class for more information.

Constructor: creates a new solid ellipse

param keywords:dictionary of keyword arguments

Precondition: See below.

To use the constructor for this class, you should provide it with a list of keyword arguments that initialize various attributes. For example, to create a red circle anchored at (0,0), use the constructor call


This class supports the all same keywords as GObject.

This class is a subclass of GObject, and inherits all of its attributes and methods.


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

Table Of Contents

Previous topic

Class GRectangle

Next topic

Class GImage

This Page