php man page for imageellipse

Query: imageellipse

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IMAGEELLIPSE(3) 							 1							   IMAGEELLIPSE(3)

imageellipse - Draw an ellipse

SYNOPSIS
bool imageellipse (resource $image, int $cx, int $cy, int $width, int $height, int $color)
DESCRIPTION
Draws an ellipse centered at the specified coordinates.
PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $cx - x-coordinate of the center. o $cy - y-coordinate of the center. o $width - The ellipse width. o $height - The ellipse height. o $color - The color of the ellipse. A color identifier created with imagecolorallocate(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 imageellipse(3) example <?php // Create a blank image. $image = imagecreatetruecolor(400, 300); // Select the background color. $bg = imagecolorallocate($image, 0, 0, 0); // Fill the background with the color selected above. imagefill($image, 0, 0, $bg); // Choose a color for the ellipse. $col_ellipse = imagecolorallocate($image, 255, 255, 255); // Draw the ellipse. imageellipse($image, 200, 150, 300, 200, $col_ellipse); // Output the image. header("Content-type: image/png"); imagepng($image); ?> The above example will output something similar to:[NOT DISPLAYABLE MEDIA]Output of example : imageellipse()
NOTES
Note This function requires GD 2.0.2 or later.
SEE ALSO
imagefilledellipse(3), imagearc(3). PHP Documentation Group IMAGEELLIPSE(3)
Related Man Pages
imagestring(3) - php
imagecolortransparent(3) - php
imagecharup(3) - php
imagefilledellipse(3) - php
imagesetpixel(3) - php
Similar Topics in the Unix Linux Community
error while retrieving image using system imager
Corel Draw like software for Ubuntu
Need help filling in ranges
RHCSA RHCE 200 / 300
Returns points of an ellipse