(PECL haru >= 0.0.1)
Create new HaruAnnotation instance
object HaruPage::createTextAnnotation ( array $rectangle, string $text [, object $encoder ] )
Creates a new HaruAnnotation instance.
Parameters:
rectangle
An array with 4 coordinates of the annotation area.
text
The text to be displayed.
encoder
Optional HaruEncoder instance.
Returns:
Returns a new HaruAnnotation instance.
Exception:
Throws a HaruException on error.
Please login to continue.