imagefilledellipse

Draw a filled ellipse

&reftitle.description; `bool` `imagefilledellipse` `GdImage` `image` `int` `center_x` `int` `center_y` `int` `width` `int` `height` `int` `color`

Draws an ellipse centered at the specified coordinate on the given `image`.

&reftitle.parameters;

&gd.image.description;

`center_x`

- x-coordinate of the center.

`center_y`

- y-coordinate of the center.

`width`

- The ellipse width.

`height`

- The ellipse height.

`color`

- The fill color. &gd.identifier.color;

&reftitle.returnvalues;

&return.success;

&reftitle.changelog;

&Version; | &Description;
&gd.changelog.image-param;

&reftitle.examples;

### `imagefilledellipse` example

    <?php

    // create a blank image
    $image = imagecreatetruecolor(400, 300);

    // fill the background color
    $bg = imagecolorallocate($image, 0, 0, 0);

    // choose a color for the ellipse
    $col_ellipse = imagecolorallocate($image, 255, 255, 255);

    // draw the white ellipse
    imagefilledellipse($image, 200, 150, 300, 200, $col_ellipse);

    // output the picture
    header("Content-type: image/png");
    imagepng($image);

    ?>

&example.outputs.similar; Output of example : imagefilledellipse()
&reftitle.notes;

`imagefilledellipse` ignores `imagesetthickness`.

&reftitle.seealso;

- `imageellipse`
- `imagefilledarc`