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

search for in the

HaruPage::moveTo> <HaruPage::measureText
Last updated: Fri, 05 Sep 2008

view this page in

HaruPage::moveTextPos

(PECL haru:0.0.1)

HaruPage::moveTextPosテキストの位置を、指定したオフセットに移動する

説明

bool HaruPage::moveTextPos ( float $x , float $y [, bool $set_leading ] )

テキストの位置を、指定したオフセットに移動します。 現在の行の開始位置が (x1, y1) の場合、次の行の開始位置は (x1 + x , y1 + y ) となります。

パラメータ

x

指定したテキスト位置のオフセット。

y

指定したテキスト位置のオフセット。

set_leading

TRUE の場合は、テキストのリーディングが -y となります。set_leading のデフォルト値は FALSE です。

返り値

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

エラー / 例外

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

参考



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

HaruPage::moveTo> <HaruPage::measureText
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites