JavaScript Editor Javascript debugger     Website design 

cpdf_setlinecap

Sets linecap parameter (PHP 4, PHP 5 <= 5.0.5)
bool cpdf_setlinecap ( int pdf_document, int value )

Sets the linecap parameter.

Parameters

pdf_document

The document handle, returned by cpdf_open().

value

0 = butt end, 1 = round, 2 = projecting square

Return Values

Returns TRUE on success or FALSE on failure.