Home Tutorial Php Phpgd About PHP GD Arc

 
 

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

<?php
$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");
imagepng($img);
imagedestroy($img);
?>

After running the program you will get the following output

Related Tags for About PHP GD Arc:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.