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

GEllipse(**keywords)

Creates a new solid ellipse

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 centered at (0,0), use the constructor call:

GEllipse(x=0,y=0,width=10,height=10,fillcolor='red')

This class supports the all same keywords as GRectangle.

Parameter:keywords (keys are attribute names) – dictionary of keyword arguments

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