GooCanvas.CanvasEllipse

g GObject.GInterface GObject.GInterface GooCanvas.CanvasItem GooCanvas.CanvasItem GObject.GInterface->GooCanvas.CanvasItem GObject.Object GObject.Object GooCanvas.CanvasItemSimple GooCanvas.CanvasItemSimple GObject.Object->GooCanvas.CanvasItemSimple GooCanvas.CanvasEllipse GooCanvas.CanvasEllipse GooCanvas.CanvasItem->GooCanvas.CanvasItemSimple GooCanvas.CanvasItemSimple->GooCanvas.CanvasEllipse

Subclasses:

None

Methods

Inherited:

GooCanvas.CanvasItemSimple (9), GObject.Object (37), GooCanvas.CanvasItem (48)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

GooCanvas.CanvasItemSimple (4), GObject.Object (7), GooCanvas.CanvasItem (44)

Properties

Inherited:

GooCanvas.CanvasItemSimple (23), GooCanvas.CanvasItem (9)

Name

Type

Flags

Short Description

center-x

float

r/w

The x coordinate of the center of the ellipse

center-y

float

r/w

The y coordinate of the center of the ellipse

height

float

r/w

The height of the ellipse

radius-x

float

r/w

The horizontal radius of the ellipse

radius-y

float

r/w

The vertical radius of the ellipse

width

float

r/w

The width of the ellipse

x

float

r/w

The x coordinate of the left side of the ellipse

y

float

r/w

The y coordinate of the top of the ellipse

Signals

Inherited:

GObject.Object (1), GooCanvas.CanvasItem (14)

Fields

Inherited:

GObject.Object (1), GooCanvas.CanvasItem (14)

Name

Type

Access

Description

ellipse_data

GooCanvas.CanvasEllipseData

r

parent_object

GooCanvas.CanvasItemSimple

r

Class Details

class GooCanvas.CanvasEllipse(**kwargs)
Bases:

GooCanvas.CanvasItemSimple

Abstract:

No

Structure:

GooCanvas.CanvasEllipseClass

GooCanvas.CanvasEllipse represents an ellipse item.

It is a subclass of GooCanvas.CanvasItemSimple and so inherits all of the style properties such as “stroke-color”, “fill-color” and “line-width”.

It also implements the GooCanvas.CanvasItem interface, so you can use the GooCanvas.CanvasItem functions such as GooCanvas.CanvasItem.raise_() and GooCanvas.CanvasItem.rotate().

To create a GooCanvas.CanvasEllipse use 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
Name:

center-x

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The x coordinate of the center of the ellipse

GooCanvas.CanvasEllipse.props.center_y
Name:

center-y

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The y coordinate of the center of the ellipse

GooCanvas.CanvasEllipse.props.height
Name:

height

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The height of the ellipse

GooCanvas.CanvasEllipse.props.radius_x
Name:

radius-x

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The horizontal radius of the ellipse

GooCanvas.CanvasEllipse.props.radius_y
Name:

radius-y

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The vertical radius of the ellipse

GooCanvas.CanvasEllipse.props.width
Name:

width

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The width of the ellipse

GooCanvas.CanvasEllipse.props.x
Name:

x

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The x coordinate of the left side of the ellipse

GooCanvas.CanvasEllipse.props.y
Name:

y

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The y coordinate of the top of the ellipse