PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

imagesetclip - Set the clipping rectangle | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

imagesetclip

(PHP 7.2)

imagesetclipSet the clipping rectangle

説明

bool imagesetclip ( resource $im , int $x1 , int $y1 , int $x2 , int $y2 )

imagesetclip() sets the current clipping rectangle, i.e. the area beyond which no pixels will be drawn.

パラメータ

image

imagecreatetruecolor() のような画像作成関数が返す画像リソース。

x1

The x-coordinate of the upper left corner.

y1

The y-coordinate of the upper left corner.

x2

The x-coordinate of the lower right corner.

y2

The y-coordinate of the lower right corner.

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考


忘却曲線を使ってこの関数を確実に記憶に残す

フォーラムで「imagesetclip - Set the clipping rectangle」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | imagesetclip - Set the clipping rectangle」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: