public HPDF_STATUS lineTo(
    float x, 
    float y)

Appends a path from the current point to the specified point.

Parameters

, y = The end point of the path

Graphics Mode

Before and after - GMode.pathObject.