(PECL haru >= 0.0.1)
HaruPage::createURLAnnotation — Create and return new HaruAnnotation instance
$rectangle
, string $url
)Creates a new HaruAnnotation instance.
rectangleAn array with 4 coordinates of the clickable area.
urlThe URL to open.
Returns a new HaruAnnotation instance.
Throws a HaruException on error.