HaruPage::createURLAnnotation
(PECL haru:0.0.1)
HaruPage::createURLAnnotation — Create and return new HaruAnnotation instance
LeÃrás
object HaruPage::createURLAnnotation
( array $rectangle
, string $url
)
Creates and returns new HaruAnnotation instance.
Paraméterek
- rectangle
-
An array with 4 coordinates of the clickable area.
- url
-
The URL to open.
Hibák/Kivételek
Throws HaruException on error.