(boolean tint)
| 2032 | |
| 2033 | |
| 2034 | @Override |
| 2035 | public void setTint(boolean tint) { |
| 2036 | if (openShape) { |
| 2037 | PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setTint()"); |
| 2038 | return; |
| 2039 | } |
| 2040 | |
| 2041 | if (family == GROUP) { |
| 2042 | for (int i = 0; i < childCount; i++) { |
| 2043 | PShapeOpenGL child = (PShapeOpenGL) children[i]; |
| 2044 | child.setTint(fill); |
| 2045 | } |
| 2046 | } else if (this.tint && !tint) { |
| 2047 | setTintImpl(0xFFFFFFFF); |
| 2048 | } |
| 2049 | this.tint = tint; |
| 2050 | } |
| 2051 | |
| 2052 | |
| 2053 | @Override |
no test coverage detected