GoLang PDF_shading

request it (75)
GoLang replacement for PHP's PDF_shading [edit | history]



Do you know a GoLang replacement for PHP's PDF_shading? Write it!

PHP PDF_shading

PHP original manual for PDF_shading [ show | php.net ]

PDF_shading

(PECL pdflib >= 2.0.0)

PDF_shadingDefine blend

Description

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 )

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

This function requires PDF 1.4 or above.