Home > PHP > Function > PDF > PDF_lineto()

PDF_lineto()

PDF_lineto - Draw a line

Syntax

bool PDF_lineto (resource $p, float $x, float $y)

Arguments

  • p - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • x - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • y - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Draws a line from the current point to another point. Returns TRUE on success or FALSE on failure.

Version

PHP 4, PECL pdflib >= 1.0.0

Return value