Home Tutorial Php Phpgd About PHP GD Arc


Share on Google+Share on Google+
About PHP GD Arc
Posted on: October 30, 2009 at 12:00 AM
About PHP GD Arc:In this tutorial you will learn about PHP GD ARC Function.
PHP GD arc Function

$img = imagecreate(200, 200);
$red = imagecolorallocate($img, 255, 0, 0);
$black = imagecolorallocate($img, 0, 0, 0); 
imagearc($img, 100, 100, 150, 150, 0, 360, $black); 
header("Content-type: image/png");

After running the program you will get the following output


Related Tags for About PHP GD Arc:

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 30, 2009

Recommend the tutorial

Advertisements Advertisements