strokeWeight()

Shape / Attributes

Description

Sets the width of the stroke used for lines, points, and shape borders.

Syntax

void strokeWeight(float w)

Parameters

NameTypeDescription
wfloatstroke weight in pixels

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...