HaruPage::arc

(PECL haru >= 0.0.1)

HaruPage::arcAppend an arc to the current path

Beschreibung

HaruPage::arc ( float $x , float $y , float $ray , float $ang1 , float $ang2 ) : bool

Appends an arc to the current path.

Parameter-Liste

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.

Rückgabewerte

Returns TRUE on success.

Fehler/Exceptions

Wirft eine HaruException bei Fehlern.