# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# Reference | strokewidth()

Syntax |
    strokewidth(width)
Description | Sets the width of the stroke used for lines around shapes, paths and text.
Returns | the current stroke width
Example |
    nofill()
    strokewidth(1)
    rect(10, 10, 20, 40)
    strokewidth(3)
    rect(40, 10, 20, 40)