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

search for in the

HaruPage::moveTo> <HaruPage::measureText
[edit] Last updated: Fri, 25 May 2012

view this page in

HaruPage::moveTextPos

(PECL haru >= 0.0.1)

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

説明

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

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

パラメータ

x

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

y

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

set_leading

TRUE の場合は、テキストのリーディングが -y となります。

返り値

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

エラー / 例外

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

参考



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

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