PDF_closepath_stroke
PDF_concat
PDF Functions
PHP Manual

# PDF_closepath

(PHP 4, PECL pdflib >= 1.0.0)

PDF_closepath — Closes path

### Description

void pdf_closepath ( int `$pdf document` )

The PDF_closepath() function closes the current path. This means, it draws a line from current point to the point where the first line was started. Many functions like PDF_moveto(), PDF_circle() and PDF_rect() start a new path.

PDF_closepath_stroke
PDF_concat
PDF Functions
PHP Manual