imagefilledrectangle
imagefilledrectangle — 塗りつぶした矩形を描画する
説明
bool imagefilledrectangle ( resource image, int x1, int y1, int x2, int y2, int color )色 color で塗りつぶした矩形を、 指定した image 上に作成します。 開始位置と終了位置を指定します。0, 0 が画像の左上角を表します。
パラメータ
- image
- imagecreatetruecolor()
のような画像作成関数が返す画像リソース。
- x1
-
開始位置の x 座標。
- y1
-
開始位置の y 座標。
- x2
-
終了位置の x 座標。
- y2
-
終了位置の y 座標。
- color
-
塗りつぶし色。
imagecolorallocate()
で作成した色 ID です。
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。固有名詞の分類
PHP |
エラー処理およびログ記録関数 filetype imagefilledrectangle implode .NET 関数 |
Weblioに収録されているすべての辞書からimagefilledrectangleを検索する場合は、下記のリンクをクリックしてください。

- imagefilledrectangleのページへのリンク