Code example for Path

Methods: lineTosetLastPoint