(PECL haru >= 0.0.1)
HaruPage::createURLAnnotation — Create and return new HaruAnnotation instance
Creates a new HaruAnnotation instance.
An array with 4 coordinates of the clickable area.
The URL to open.
Returns a new HaruAnnotation instance.
Throws a HaruException on error.
Like shown in the source code [1] the array defining the rectangle should look like:
<?php
$rect = array(
    $bottomLeftXCoordinate,
    $bottomLeftYCoordinate,
    $topRightXCoordinate,
    $topRightYCoordinate,
);
?>
As always these values have to be given in "pt" (point, 72dpi).
[1] http://cvs.php.net/viewvc.cgi/pecl/haru/haru.c?view=markup#l701