HaruPage::createTextAnnotation
(PECL haru:0.0.1)
HaruPage::createTextAnnotation — Crée une nouvelle instance HaruAnnotation
Description
object HaruPage::createTextAnnotation
( array $rectangle
, string $text
[, object $encoder
] )
Crée et retourne une nouvelle instance HaruAnnotation.
Liste de paramètres
- rectangle
-
Un tableau contenant 4 coordonnées de la zone d'annotation.
- text
-
Le texte à afficher.
- encoder
-
Instance optionnelle HaruEncoder.
Erreurs / Exceptions
Lance une exception HaruException en cas d'erreur.