strokeWeight(weight)

Sets the width of the stroke used for lines and the border around shapes.

Type: function

Parameter(s):

  • weight {Number}:

    The width of the stroke in points.