GooCanvas.CanvasEllipse¶
- Subclasses:
 None
Methods¶
- Inherited:
 GooCanvas.CanvasItemSimple (9), GObject.Object (37), GooCanvas.CanvasItem (48)
- Structs:
 
Virtual Methods¶
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
The x coordinate of the center of the ellipse  | 
||
r/w  | 
The y coordinate of the center of the ellipse  | 
||
r/w  | 
The height of the ellipse  | 
||
r/w  | 
The horizontal radius of the ellipse  | 
||
r/w  | 
The vertical radius of the ellipse  | 
||
r/w  | 
The width of the ellipse  | 
||
r/w  | 
The x coordinate of the left side of the ellipse  | 
||
r/w  | 
The y coordinate of the top of the ellipse  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
ellipse_data  | 
r  | 
||
parent_object  | 
r  | 
Class Details¶
- class GooCanvas.CanvasEllipse(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
GooCanvas.CanvasEllipserepresents an ellipse item.It is a subclass of
GooCanvas.CanvasItemSimpleand so inherits all of the style properties such as “stroke-color”, “fill-color” and “line-width”.It also implements the
GooCanvas.CanvasIteminterface, so you can use theGooCanvas.CanvasItemfunctions such asGooCanvas.CanvasItem.raise_() andGooCanvas.CanvasItem.rotate().To create a
GooCanvas.CanvasEllipseuse goo_canvas_ellipse_new().To get or set the properties of an existing
GooCanvas.CanvasEllipse, use g_object_get() and g_object_set().The ellipse can be specified either with the “center-x”, “center-y”, “radius-x” and “radius-y” properties, or with the “x”, “y”, “width” and “height” properties.
Property Details¶
- GooCanvas.CanvasEllipse.props.center_x¶
 - 
The x coordinate of the center of the ellipse
 
- GooCanvas.CanvasEllipse.props.center_y¶
 - 
The y coordinate of the center of the ellipse
 
- GooCanvas.CanvasEllipse.props.height¶
 - 
The height of the ellipse
 
- GooCanvas.CanvasEllipse.props.radius_x¶
 - 
The horizontal radius of the ellipse
 
- GooCanvas.CanvasEllipse.props.radius_y¶
 - 
The vertical radius of the ellipse
 
- GooCanvas.CanvasEllipse.props.width¶
 - 
The width of the ellipse
 
- GooCanvas.CanvasEllipse.props.x¶
 - 
The x coordinate of the left side of the ellipse