MCPcopy Index your code
hub / github.com/benfry/processing4 / strokeWeight

Method strokeWeight

core/src/processing/core/PGraphics.java:6453–6455  ·  view source on GitHub ↗

Sets the width of the stroke used for lines, points, and the border around shapes. All widths are set in units of pixels. Using point() with strokeWeight(1) or smaller may draw nothing to the screen, depending on the graphics settings of the computer. Workarounds include setting the pi

(float weight)

Source from the content-addressed store, hash-verified

6451 * @see PGraphics#strokeCap(int)
6452 */
6453 public void strokeWeight(float weight) {
6454 strokeWeight = weight;
6455 }
6456
6457 /**
6458 * Sets the style of the joints which connect line segments. These joints are

Callers 5

rawLinesMethod · 0.95
rawPointsMethod · 0.95
defaultSettingsMethod · 0.95
reapplySettingsMethod · 0.95
styleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected