line.set_width
Changes the width in pixels.
line.set_width(id: line, width: int)
Parameters
idline: The line's handle (from line.new); na or a deleted line does nothing.widthint: Width in pixels, rounded to a whole number (na = 1, below 0 = 0).
Example
l.set_width(2)