GoLang HaruPage::arc

request it (260)
GoLang replacement for PHP's HaruPage::arc [edit | history]



Do you know a GoLang replacement for PHP's HaruPage::arc? Write it!

PHP HaruPage::arc

PHP original manual for HaruPage::arc [ show | php.net ]

HaruPage::arc

(PECL haru >= 0.0.1)

HaruPage::arcAppend an arc to the current path

Description

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.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.