您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

HaruPage::arc

(PECL haru:0.0.1)

HaruPage::arc — Append an arc to the current path

说明

bool HaruPage::arc ( float $x , float $y , float $ray , float $ang1 , float $ang2 )

Appends an arc to the current path.

参数

x

Horizontal coordinate of the center.

y

Vertical coordinate of the center.

ray

The ray of the arc.

ang1

The angle of the beginning.

ang2

The angle of the end. Must be greater than ang1 .

返回值

Returns TRUE on success.

错误/异常

Throws HaruException on error.