HaruPage::createTextAnnotation

(PECL haru >= 0.0.1)

HaruPage::createTextAnnotationCreate new HaruAnnotation instance

说锟斤拷

HaruPage::createTextAnnotation ( array $rectangle , string $text [, object $encoder ] ) : object

Creates a new HaruAnnotation instance.

锟斤拷锟斤拷

rectangle

An array with 4 coordinates of the annotation area.

text

The text to be displayed.

encoder

Optional HaruEncoder instance.

锟斤拷锟斤拷值

Returns a new HaruAnnotation instance.

锟斤拷锟斤拷锟届常

锟斤拷锟斤拷锟斤拷锟斤拷时锟阶筹拷 HaruException 锟届常锟斤拷