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_arc - 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_arcn" width="11" height="7"/> <ps_add_weblink
Last updated: Wed, 01 Nov 2006
view this page in

ps_arc

(PECL)

ps_arc -- 反時計回りに円弧を描く

説明

bool ps_arc ( resource psdoc, float x, float y, float radius, float alpha, float beta )

(x, y) を中心とした円の一部を描きます。円弧は alpha で指定された角度からはじまり beta で指定された角度で終わります。反時計回りに描かれます (時計回りに描くには ps_arcn() を使用します)。 また、alpha で指定された角度からはじまって beta で指定された角度で終わるサブパスが、 現在のパスに追加されます。

パラメータ

psdoc

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

x

円の中心の x 座標。

y

円の中心の y 座標。

radius

円の半径。

alpha

開始位置の角度を度単位で指定。

beta

終了位置の角度を度単位で指定。

返り値

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

参考

ps_arcn()



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

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