Home > PHP > Function > > HaruPage::lineTo()

HaruPage::lineTo()

HaruPage::lineTo - Draw a line from the current point to the specified point

Syntax

bool HaruPage::lineTo (float $x, float $y)

Arguments

  • x
  • y

Description

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

Version

PHP PECL haru >= 0.0.1

Return value

Returns TRUE on success.