(boolean stroke)
| 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) { |
no test coverage detected