jsPDF - Documentation
artskydj.github.io › jsPDF › docsApr 02, 2019 · jspdf.js, line 3429. Adds series of curves (straight lines or cubic bezier curves) to canvas, starting at x, y coordinates. All data points in lines are relative to last line origin. x, y become x1,y1 for first line / curve in the set. For lines you only need to specify [x2, y2] - (ending point) vector against x1, y1 starting point.