HaruPage
PHP 手册

HaruPage::lineTo

(PECL haru >= 0.0.1)

HaruPage::lineToDraw 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.

参见


HaruPage
PHP 手册