HaruPage::moveTo

(PECL haru >= 0.0.1)

HaruPage::moveToSet starting point for new drawing path

说明

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

Defines starting point for new drawing path.

参数

x

A new starting point coordinate.

y

A new starting point coordinate.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。

关注编程学问公众号