您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

HaruPage::lineTo

(PECL haru:0.0.1)

HaruPage::lineTo — Draw a line from the current point to the specified point

说明

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

Draws a line from the current point to the specified point.

参数

x

y

返回值

Returns TRUE on success.

错误/异常

Throws HaruException on error.