HaruPage::createURLAnnotation

(PECL haru >= 0.0.1)

HaruPage::createURLAnnotationCreate and return new HaruAnnotation instance

说锟斤拷

HaruPage::createURLAnnotation ( array $rectangle , string $url ) : object

Creates a new HaruAnnotation instance.

锟斤拷锟斤拷

rectangle

An array with 4 coordinates of the clickable area.

url

The URL to open.

锟斤拷锟斤拷值

Returns a new HaruAnnotation instance.

锟斤拷锟斤拷锟届常

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