downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<HaruPage::measureTextHaruPage::moveTo>
Last updated: Thu, 26 Jun 2008

HaruPage::moveTextPos

(PECL haru:0.0.1)

HaruPage::moveTextPos — Move text position to the specified offset

Description

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

Moves text position to the specified offset. If the start position of the current line is (x1, y1), the start of the next line is (x1 + x , y1 + y ).

Parameters

x

The specified text position offset.

y

The specified text position offset.

set_leading

If set to TRUE, the function sets the text leading to -y . The default value of set_leading is FALSE.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws HaruException on error.



add a noteadd a note User Contributed Notes
Move text position to the specified offset
There are no user contributed notes for this page.




<HaruPage::measureTextHaruPage::moveTo>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs