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