HaruPage::createURLAnnotation
(PECL haru >= 0.0.1)
HaruPage::createURLAnnotation — Create and return new HaruAnnotation instance
Beschreibung
object HaruPage::createURLAnnotation
( array
$rectangle
, string $url
)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.