set_line_width

fpdf.set_line_width(width: float)

Description

Defines the line width. By default, the value equals 0.2 mm. The method can be called before the first page is created and the value is retained from page to page.

Parameters

width:

The width.

See also

line, rect, cell, multi_cell.