Using imagefill() : Line : Graphics Image PHP Source Code


PHP Source Code » Graphics Image » Line »

 

Using imagefill()



<?php
 header("Content-type: image/gif");
 $image = imagecreate200200 );
 $red = imagecolorallocate($image, 255,0,0);
 $blue = imagecolorallocate($image, 0,0,255 );
 imageline$image, 00199199, $blue );
 imagefill$image, 0199, $blue );
 imagegif($image);
?>


           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Graphics Image
» Line