Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/shape/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,9 @@ function attributes(p5, fn){
* Sets the width of the stroke used for points, lines, and the outlines of
* shapes.
*
* Note: `strokeWeight()` is affected by transformations, especially calls to
* <a href="#/p5/scale">scale()</a>.
* Note: In 2D mode, `strokeWeight()` is affected by transformations,
* especially calls to <a href="#/p5/scale">scale()</a>. It isn't affected by
* transformations in WebGL and WebGPU modes.
*
* Calling `strokeWeight()` without an argument returns the current stroke weight as a number.
*
Expand Down
Loading