Drawing a Filled Rectangle with imagefilledrectangle() : Rectangle : Graphics Image PHP Source Code


PHP Source Code » Graphics Image » Rectangle »

 

Drawing a Filled Rectangle with imagefilledrectangle()



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

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Graphics Image
» Rectangle