Draws a partial ellipse centered at the specified coordinate in the
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
x-coordinate of the center
y-coordinate of the center
The arc width
The arc height
The arc start angle, in degrees.
The arc end angle, in degrees. 0° is located at the three-o'clock position, and the arc is drawn clockwise.
A color identifier created with imagecolorallocate()
A bitwise OR of the following possibilities:
Example 1. Creating a 3D looking pie
The above example will output something similar to: