ps_arc

(PECL)

ps_arc -- Draws an arc counterclockwise

說明

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

Draws a portion of a circle with at middle point at (x, y). The arc starts at an angle of alpha and ends at an angle of beta. It is drawn counterclockwise. The subpath added to the current path starts on the arc at angle alpha and ends on the arc at angle beta.

返回值

若果成功則返回 TRUE,失敗則返回 FALSE

參見

ps_arcn()