## GooCanvasEllipse GooCanvasEllipse — an ellipse item. |

## Synopsis

                        GooCanvasEllipse;
    GooCanvasItem*      goo_canvas_ellipse_new              (GooCanvasItem *parent,
                                                             gdouble center_x,
                                                             gdouble center_y,
                                                             gdouble radius_x,
                                                             gdouble radius_y,
                                                             ...);

## Object Hierarchy

      GObject
       +----GooCanvasItemSimple
             +----GooCanvasEllipse

## Implemented Interfaces

GooCanvasEllipse implements GooCanvasItem.

## Properties

      "center-x"                 gdouble               : Read / Write
      "center-y"                 gdouble               : Read / Write
      "radius-x"                 gdouble               : Read / Write
      "radius-y"                 gdouble               : Read / Write

## Description

GooCanvasEllipse represents an ellipse item.

It is a subclass of GooCanvasItemSimple and so inherits all of the style properties such as "stroke-color", "fill-color" and "line-width".

It also implements the GooCanvasItem interface, so you can use the GooCanvasItem functions such as `goo_canvas_item_raise()` and `goo_canvas_item_rotate()`.

To create a GooCanvasEllipse use `goo_canvas_ellipse_new()`.

To get or set the properties of an existing GooCanvasEllipse, use `g_object_get()` and `g_object_set()`.

## Details

### GooCanvasEllipse

    typedef struct _GooCanvasEllipse GooCanvasEllipse;

The GooCanvasEllipse struct contains private data only.

### goo_canvas_ellipse_new ()

    GooCanvasItem*      goo_canvas_ellipse_new              (GooCanvasItem *parent,
                                                             gdouble center_x,
                                                             gdouble center_y,
                                                             gdouble radius_x,
                                                             gdouble radius_y,
                                                             ...);

Creates a new ellipse item.

`parent` : | the parent item, or `NULL`. If a parent is specified, it will assume ownership of the item, and the item will automatically be freed when it is removed from the parent. Otherwise call `g_object_unref()` to free it.
`center_x` : | the x coordinate of the center of the ellipse.
`center_y` : | the y coordinate of the center of the ellipse.
`radius_x` : | the horizontal radius of the ellipse.
`radius_y` : | the vertical radius of the ellipse.
`...` : | optional pairs of property names and values, and a terminating `NULL`.
Returns : | a new ellipse item.

Here's an example showing how to create an ellipse centered at (100.0, 100.0), with a horizontal radius of 50.0 and a vertical radius of 30.0. It is drawn with a red outline with a width of 5.0 and filled with blue:

     GooCanvasItem *ellipse = goo_canvas_ellipse_new (mygroup, 100.0, 100.0, 50.0, 30.0,
                                                      "stroke-color", "red",
                                                      "line-width", 5.0,
                                                      "fill-color", "blue",
                                                      NULL);

## Property Details

### The `"center-x"` property

      "center-x"                 gdouble               : Read / Write

The x coordinate of the center of the ellipse.

Default value: 0

### The `"center-y"` property

      "center-y"                 gdouble               : Read / Write

The y coordinate of the center of the ellipse.

Default value: 0

### The `"radius-x"` property

      "radius-x"                 gdouble               : Read / Write

The horizontal radius of the ellipse.

Allowed values: >= 0

Default value: 0

### The `"radius-y"` property

      "radius-y"                 gdouble               : Read / Write

The vertical radius of the ellipse.

Allowed values: >= 0

Default value: 0