strokeWeight
Description
Sets the width of the stroke used for lines, points and the border around shapes. All widths are set in units of pixels.
Note that it is affected by any transformation or scaling that has been applied previously.
Syntax
strokeWeight(weight)
Parameters
Parameter | Description |
---|---|
weight | weight of the stroke (in pixels) |