Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: ps_rect - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net

search for in the

ps_restore" width="11" height="7"/> <ps_place_image
Last updated: Wed, 01 Nov 2006
view this page in

ps_rect

(PECL)

ps_rect -- 矩形を描く

説明

bool ps_rect ( resource psdoc, float x, float y, float width, float height )

x, y)を左下の角とする 矩形を描きます。描画は左下の角から始まって同じ位置で終わります。 もしパスの外部でこの関数が呼び出された場合、新しいパスを開始します。 パスの内部で呼び出された場合は、矩形をサブパスとして追加します。一つ前の描画処理が 左下角の位置で終わっていなかった場合は、パスに隙間ができることになります。

パラメータ

psdoc

ps_new() が返す、postscript ファイルのリソース ID。

x

矩形の左下角の x 座標。

y

矩形の左下角の y 座標。

width

画像の幅。

height

画像の高さ。

返り値

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

参考

ps_arc()
ps_cirle()
ps_lineto()



add a note add a note User Contributed Notes
ps_rect
There are no user contributed notes for this page.

ps_restore" width="11" height="7"/> <ps_place_image
Last updated: Wed, 01 Nov 2006
 
 
show source | credits | sitemap | contact | advertising | mirror sites