PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HaruFont> <HaruPage
Last updated: Fri, 10 Oct 2008

view this page in

HaruPage::textRect

(PECL haru:0.0.1)

HaruPage::textRectPrint the text inside the specified region

Описание

bool HaruPage::textRect ( float $left , float $top , float $right , float $bottom , string $text [, int $align ] )

Prints the text inside the specified region.

Список параметров

left

Left border of the text area.

top

Top border of the text area.

right

Right border of the text area.

bottom

Lower border of the text area.

text

The text to print.

align

Text alignment. Must be one of the following values:

  • HaruPage::TALING_LEFT
  • HaruPage::TALING_RIGHT
  • HaruPage::TALING_CENTER
  • HaruPage::TALING_JUSTIFY

Возвращаемые значения

Returns TRUE on success.

Errors/Exceptions

Throws HaruException on error.

Смотрите также



add a note add a note User Contributed Notes
HaruPage::textRect
There are no user contributed notes for this page.

HaruFont> <HaruPage
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites