HaruPage
PHP Manual

HaruPage::moveTo

(PECL haru >= 0.0.1)

HaruPage::moveToSet starting point for new drawing path

说明

bool HaruPage::moveTo ( float $x , float $y )

Defines starting point for new drawing path.

参数

x

A new starting point coordinate.

y

A new starting point coordinate.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。


HaruPage
PHP Manual