Académique Documents
Professionnel Documents
Culture Documents
Draw line:
1 imageline($im,x1,y1,x2,y2,color);
Draw rectangle:
1 imagerectangle($im,x1,y1,x2,y2,color);
Draw text:
1 imagestring($im,font,x,y,$string,color); //draw horizontal text
2 imagestringup($im,font,x,y,$string,color); //draw vertical text
Draw polygon:
1 <?PHP
2 $arr=array(15,10,5,20,30,15);
3 imagepolygon($im,$arr,points,color);
4 ?>