Skip to content
Google Code Exporter edited this page Mar 18, 2015 · 1 revision

Line

fpdf.line(x1,y1,x2,y2)

Description

Draw a line between two points.

Parameters

x1:

Abscissa of first point y1: Ordinate of first point x2: Abscissa of second point y2: Ordinate of second point

Example

# Adds a line beginning at point (10,30) and ending at point(110,30)
pdf.line(10, 30, 110, 30)

See also

DashedLine

Clone this wiki locally