ImageRectangle

(PHP 3, PHP 4 )

ImageRectangle -- 矩形の描画

説明

int imagerectangle ( int im, int x1, int y1, int x2, int y2, int col)

ImageRectangle() は、画像 im 上に col 色で左上を ( x1 , y1 )、右下を ( x2 , y2 )とする矩形を 描画します。画像の左上角は(0,0)です。