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

search for in the

HaruFont> <HaruPage::textOut
[edit] Last updated: Fri, 30 Nov 2012

view this page in

HaruPage::textRect

(PECL haru >= 0.0.1)

HaruPage::textRectPrint the text inside the specified region

Opis

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

Prints the text inside the specified region.

Parametry

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::TALIGN_LEFT
  • HaruPage::TALIGN_RIGHT
  • HaruPage::TALIGN_CENTER
  • HaruPage::TALIGN_JUSTIFY

Zwracane wartości

Returns TRUE on success.

Błędy/Wyjątki

Zgłasza wyjątek HaruException gdy wystąpi błąd.

Zobacz też:



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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites