HaruPage::showTextNextLine
(PECL haru >= 0.0.1)
HaruPage::showTextNextLine — Move the current position to the start of the next line and print the text
说明
HaruPage::showTextNextLine (
string
$text
[,
float $word_space
= 0 [,
float $char_space
= 0 ]] ) :
bool
Moves the current position to the start of the next line and print out the text.
参数
-
text
-
The text to show.
-
word_space
-
The word spacing.
-
char_space
-
The character spacing.
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出 HaruException 异常。
参见
- HaruPage::showText() - Print text at the current position of the page
- HaruPage::textOut() - Print the text on the specified position