(PECL haru >= 0.0.1)
HaruPage::textRect — Print the text inside the specified region
$left
, float $top
, float $right
, float $bottom
, string $text
[, int $align = HaruPage::TALIGN_LEFT
] )Prints the text inside the specified region.
leftLeft border of the text area.
topTop border of the text area.
rightRight border of the text area.
bottomLower border of the text area.
textThe text to print.
alignText alignment. Must be one of the following values:
HaruPage::TALIGN_LEFT
HaruPage::TALIGN_RIGHT
HaruPage::TALIGN_CENTER
HaruPage::TALIGN_JUSTIFY
Returns TRUE on success.
Throws a HaruException on error.