public HPDF_STATUS closePath()

Appends a straight line from the current point to the start point of sub path. The current point is moved to the start point of sub path

Graphics Mode

Before and after - GMode.pathObject.