fpdf.line(x1, y1, x2, y2)
Draw a line between two points.
x1:
Abscissa of first point
y1:
Ordinate of first point
x2:
Abscissa of second point
y2:
Ordinate of second point
# Adds a line beginning at point (10,30) and ending at point (110,30)
pdf.line(10, 30, 110, 30)