Home > PHP > Function > PDF > PDF_shading()

PDF_shading()

PDF_shading - Define blend

Syntax

int PDF_shading (resource $pdfdoc, string $shtype, float $x0, float $y0, float $x1, float $y1, float $c1, float $c2, float $c3, float $c4, string $optlist)

Arguments

  • pdfdoc - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • shtype - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • x0 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • y0 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • x1 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • y1 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • c1 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • c2 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • c3 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • c4 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • optlist - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Defines a blend from the current fill color to another color.

Version

PHP PECL pdflib >= 2.0.0

Return value