HaruPage::createURLAnnotation

(PECL haru >= 0.0.1)

HaruPage::createURLAnnotationCreate and return new HaruAnnotation instance

Beschreibung

HaruPage::createURLAnnotation ( array $rectangle , string $url ) : object

Creates a new HaruAnnotation instance.

Parameter-Liste

rectangle

An array with 4 coordinates of the clickable area.

url

The URL to open.

Rückgabewerte

Returns a new HaruAnnotation instance.

Fehler/Exceptions

Wirft eine HaruException bei Fehlern.