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