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

Method stroke

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

Source from the content-addressed store, hash-verified

961
962
963 public void stroke(int rgb) {
964 if (!openShape) {
965 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "stroke()");
966 return;
967 }
968
969 stroke = true;
970 colorCalc(rgb);
971 strokeColor = calcColor;
972 }
973
974
975 public void stroke(int rgb, float alpha) {

Callers 7

rawLinesMethod · 0.45
rawPointsMethod · 0.45
stylesMethod · 0.45
drawShapeMethod · 0.45
triangleMethod · 0.45
quadMethod · 0.45
drawMethod · 0.45

Calls 2

showWarningMethod · 0.95
colorCalcMethod · 0.95

Tested by

no test coverage detected