HaruPage::moveTextPos
(PECL haru:0.0.1)
HaruPage::moveTextPos — Move text position to the specified offset
LeÃrás
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 ). If optional parameter set_leading is TRUE, the function sets the text leading to -y . The default value of set_leading is FALSE.
Visszatérési értékek
Returns TRUE on success.
Hibák/Kivételek
Throws HaruException on error.