HaruPage
PHP Manual

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 a HaruException on error.

Вж. също


HaruPage
PHP Manual