imageellipse()
imageellipse - Draw an ellipse
Syntax
bool imageellipse (
resource $image,
int $cx,
int $cy,
int $width,
int $height,
int $color)
Arguments
- image - An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
- cx - x-coordinate of the center.
- cy - y-coordinate of the center.
- width - The ellipse width.
- height - The ellipse height.
- color - The color of the ellipse. A color identifier created with imagecolorallocate().
Description
Draws an ellipse centered at the specified coordinates.
Version
PHP 4.0.6, 5
Return value
Returns TRUE on success or FALSE on failure.