Home > PHP > Function > > HaruPage::createTextAnnotation()

HaruPage::createTextAnnotation()

HaruPage::createTextAnnotation - Create new
HaruAnnotationinstance

Syntax

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

Arguments

  • rectangle - An array with 4 coordinates of the annotation area.
  • text - The text to be displayed.
  • encoder - Optional HaruEncoderinstance.

Description

Creates a new HaruAnnotationinstance.

Version

PHP PECL haru >= 0.0.1

Return value

Returns a new HaruAnnotationinstance.