HaruPage
PHP 手册

HaruPage::getCurrentTextPos

(PECL haru >= 0.0.1)

HaruPage::getCurrentTextPosGet the current position for text printing

说明

array HaruPage::getCurrentTextPos ( void )

Get the current position for text printing.

参数

此函数没有参数。

返回值

Returns the current position for text printing as an array with 2 elements - "x" and "y".

错误/异常

发生错误时抛出 HaruException 异常。


HaruPage
PHP 手册