MCPcopy Create free account
hub / github.com/benfry/processing4 / stroke

Method stroke

core/src/processing/core/PShape.java:998–1007  ·  view source on GitHub ↗
(int rgb)

Source from the content-addressed store, hash-verified

996
997
998 public void stroke(int rgb) {
999 if (!openShape) {
1000 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "stroke()");
1001 return;
1002 }
1003
1004 stroke = true;
1005 colorCalc(rgb);
1006 strokeColor = calcColor;
1007 }
1008
1009
1010 public void stroke(int rgb, float alpha) {

Callers 5

getTessellationMethod · 0.95
rawLinesMethod · 0.45
rawPointsMethod · 0.45
stylesMethod · 0.45
drawMethod · 0.45

Calls 2

showWarningMethod · 0.95
colorCalcMethod · 0.95

Tested by

no test coverage detected