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

search for in the

HaruFont> <HaruPage::textOut
Last updated: Fri, 30 Jan 2009

view this page in

HaruPage::textRect

(PECL haru >= 0.0.1)

HaruPage::textRect指定した領域内にテキストを表示する

説明

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

指定した領域内にテキストを表示します。

パラメータ

left

テキストの範囲の左端。

top

テキストの範囲の上端。

right

テキストの範囲の右端。

bottom

テキストの範囲の下端。

text

表示させたいテキスト。

align

テキストの配置。次のいずれかの値でなければなりません。

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

返り値

成功した場合に TRUE を返します。

エラー / 例外

エラー時に HaruException をスローします。

参考



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

HaruFont> <HaruPage::textOut
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites