haru
PHP Manual

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.

参见


haru
PHP Manual