(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.
发生错误时抛出 HaruException 异常。