HaruPage::createTextAnnotation
HaruPage::curveTo2
HaruPage
PHP Manual

# HaruPage::createURLAnnotation

(PECL haru >= 0.0.1)

HaruPage::createURLAnnotation — Create and return new HaruAnnotation instance

### 설명

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

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을 던짐.

HaruPage::createTextAnnotation
HaruPage::curveTo2
HaruPage
PHP Manual