HaruPage
PHP 手册

HaruPage::circle

(PECL haru >= 0.0.1)

HaruPage::circleAppend a circle to the current path

说明

bool HaruPage::circle ( float $x , float $y , float $ray )

Appends a circle to the current path.

参数

x

Horizontal coordinate of the center point.

y

Vertical coordinate of the center point.

ray

The ray of the circle.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。


HaruPage
PHP 手册