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

Method setStroke

core/src/processing/opengl/PShapeOpenGL.java:2029–2045  ·  view source on GitHub ↗
(boolean stroke)

Source from the content-addressed store, hash-verified

2027
2028
2029 @Override
2030 public void setStroke(boolean stroke) {
2031 if (openShape) {
2032 PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setStroke()");
2033 return;
2034 }
2035
2036 if (family == GROUP) {
2037 for (int i = 0; i < childCount; i++) {
2038 PShapeOpenGL child = (PShapeOpenGL) children[i];
2039 child.setStroke(stroke);
2040 }
2041 this.stroke = stroke;
2042 } else {
2043 setStrokeImpl(stroke);
2044 }
2045 }
2046
2047
2048 protected void setStrokeImpl(boolean stroke) {

Callers 3

enableStyleMethod · 0.95
stylesMethod · 0.95
tessellateImplMethod · 0.45

Calls 4

showWarningMethod · 0.95
setStrokeImplMethod · 0.95
javaToNativeARGBMethod · 0.95
markForTessellationMethod · 0.95

Tested by

no test coverage detected