HaruPage::lineTo

(PECL haru >= 0.0.1)
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.

Parameters:
x

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

y

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

Returns:

Returns TRUE on success.

Exception:

Throws a HaruException on error.

See also:

HaruPage::curveTo() -

HaruPage::curveTo2() -

HaruPage::curveTo3() -

doc_php
2016-02-24 16:03:24
Comments
Leave a Comment

Please login to continue.