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
] )
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.