PHP - Manual: HaruPage::arc
2025-10-25
(PECL haru >= 0.0.1)
HaruPage::arc — Append an arc to the current path
$x
, float $y
, float $ray
, float $ang1
, float $ang2
) : boolAppends an arc to the current path.
xHorizontal coordinate of the center.
yVertical coordinate of the center.
rayThe ray of the arc.
ang1The angle of the beginning.
ang2
The angle of the end. Must be greater than ang1.
Returns TRUE on success.
发生错误时抛出 HaruException 异常。