cpdf_setlinecap

(PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)

cpdf_setlinecap -- Sets linecap parameter

说明

bool cpdf_setlinecap ( int pdf_document, int value )

Sets the linecap parameter.

参数

pdf_document

The document handle, returned by cpdf_open().

value

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

返回值

如果成功则返回 TRUE,失败则返回 FALSE