strokeWeight()

Changes thickness of lines

Example

strokeWeight(5)

circle(width/2,height/2,200)
line(50,50,350,50)

Syntax

Input
Description
Default

w

The thickness of any lines or borders

1

circle-info

Find these documents helpful? Let the people who made them help your child learn to code at Strivematharrow-up-right!

We'd love to hear your Feedback/Comments herearrow-up-right.

Last updated