Forum und email

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

Return值

Returns TRUE on success.

錯誤/例外

Throws HaruException on error.