Web aym.pekori.to

imagerectangle

(PHP 3, PHP 4, PHP 5)

imagerectangle -- 矩形の描画

説明

bool imagerectangle ( int image, int x1, int y1, int x2, int y2, int col )

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