HaruPage::circle
(PECL haru >= 0.0.1)
HaruPage::circle — Append a circle to the current path
说明
HaruPage::circle
( float
$x
, float $y
, float $ray
) : boolAppends 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 异常。