strokeWeight()
Changes thickness of lines
Example

strokeWeight(5)
circle(width/2,height/2,200)
line(50,50,350,50)
strokeWeight(25)
circle(width/2,height/2,200)
line(50,50,350,50)Syntax
strokeWeight(w)Input
Description
Default
w
The thickness of any lines or borders
1
Last updated