(PECL haru:0.0.1)
HaruPage::createTextAnnotation — Create new HaruAnnotation instance
Creates a new HaruAnnotation instance.
An array with 4 coordinates of the annotation area.
The text to be displayed.
Optional HaruEncoder instance.
Returns a new HaruAnnotation instance.
Throws HaruException on error.