Try something new. NodeBox 2 Beta - Now Available for Download

Reference | strokewidth()


Syntax
strokewidth(width)

DescriptionSets the width of the stroke used for lines around shapes, paths and text.
Returnsthe current stroke width


Example
nofill()
stroke(0.2)
strokewidth(1.5)
rect(10, 10, 20, 40)
strokewidth(3)
rect(40, 10, 20, 40)