| Name | strokeWeight() | 
    ||
|---|---|---|---|
| Examples | 
                     
                strokeWeight(1) # Default line(20, 20, 80, 20) strokeWeight(4) # Thicker line(20, 40, 80, 40) strokeWeight(10) # Beastly line(20, 70, 80, 70)  | ||
| Description | Sets the width of the stroke used for lines, points, and the border around shapes. All widths are set in units of pixels. | ||
| Syntax | strokeWeight(weight)  | ||
| Parameters | 
  | ||
| Related | 
                    stroke() strokeJoin() strokeCap()  | 
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
                    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License