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