imagefilledrectangle

(PHP 3, PHP 4, PHP 5)

imagefilledrectangle -- 塗りつぶした矩形の描画

説明

bool imagefilledrectangle ( resource image, int x1, int y1, int x2, int y2, int color )

imagefilledrectangle()は、画像 image上に左上の座標を (x1, y1)、右下の座 標を(x2, y2)とする 矩形を描画します。左上隅が座標(0,0)となります。矩形は col()色で塗りつぶされます。