public HPDF_STATUS closePathStroke()

Closes the current path. Then, it paints the path.

Graphics Mode

Before - GMode.pathObject.
After - GMode.pageDescription.