HaruPage::arc

(PECL haru >= 0.0.1)
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.

Parameters:
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:

Returns TRUE on success.

Exception:

Throws a HaruException on error.

doc_php
2016-02-24 16:03:17
Comments
Leave a Comment

Please login to continue.