Draw Filled Arc : Arc : Graphics Image PHP Source Code


PHP Source Code » Graphics Image » Arc »

 

Draw Filled Arc




<?php
$myImage = ImageCreate(300,300);

$white = ImageColorAllocate ($myImage, 255255255);
$red  = ImageColorAllocate ($myImage, 25500);
$green = ImageColorAllocate ($myImage, 02550);
$blue = ImageColorAllocate ($myImage, 00255);

ImageFilledArc($myImage, 100100200150090, $red, IMG_ARC_PIE);
ImageFilledArc($myImage, 10010020015090180 , $green, IMG_ARC_PIE);
ImageFilledArc($myImage, 100100200150180360 , $blue, IMG_ARC_PIE);

header ("Content-type: image/png");
ImagePNG($myImage);

ImageDestroy($myImage);
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Graphics Image
» Arc