MCPcopy Index your code
hub / github.com/processing/processing / stroke

Method stroke

core/src/processing/core/PGraphics.java:6541–6544  ·  view source on GitHub ↗

( begin auto-generated from stroke.xml ) Sets the color used to draw lines and borders around shapes. This color is either specified in terms of the RGB or HSB color depending on the current colorMode() (the default color space is RGB, with each value in the range from 0 to 255).

(int rgb)

Source from the content-addressed store, hash-verified

6539 * @see PGraphics#colorMode(int, float, float, float, float)
6540 */
6541 public void stroke(int rgb) {
6542 colorCalc(rgb);
6543 strokeFromCalc();
6544 }
6545
6546
6547 /**

Callers 5

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

Calls 2

colorCalcMethod · 0.95
strokeFromCalcMethod · 0.95

Tested by

no test coverage detected