PHP Manual
Prev |  | Next

# ImageEllipse

(PHP 4 >= 4.0.6)

ImageEllipse -- Draw an ellipse

## Description

``int imageellipse` (resource im, int cx, int cy, int w, int h, int col)`

ImageEllipse() draws an ellipse centered at `cx`, `cy` (top left is 0, 0) in the image represented by `im`. `W` and `h` specifies the ellipse's width and height respectively. The color of the ellipse is specified by `color`.

> Note: This function was added in PHP 4.0.6 and requires GD 2.0.2 or later

See also ImageArc().

Prev | Home | Next
ImageFilledArc | Up | ImageFilledEllipse