imagerectangle
(PHP 4, PHP 5)
imagerectangle — 画一个矩形
<h3>说明</h3>
 bool <strong>imagerectangle</strong>
  ( resource <code>$image</code>
 , int <code>$x1</code>
 , int <code>$y1</code>
 , int <code>$x2</code>
 , int <code>$y2</code>
 , int <code>$col</code>
 )
<p>
 <strong>imagerectangle()</strong> 用
 <code>col</code> 颜色在
 <code>image</code> 图像中画一个矩形,其左上角坐标为
 x1, y1,右下角坐标为 x2, y2。图像的左上角坐标为
 0, 0。
</p>