(boolean tint)
| 1941 | |
| 1942 | |
| 1943 | @Override |
| 1944 | public void setTint(boolean tint) { |
| 1945 | if (openShape) { |
| 1946 | PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setTint()"); |
| 1947 | return; |
| 1948 | } |
| 1949 | |
| 1950 | if (family == GROUP) { |
| 1951 | for (int i = 0; i < childCount; i++) { |
| 1952 | PShapeOpenGL child = (PShapeOpenGL) children[i]; |
| 1953 | child.setTint(fill); |
| 1954 | } |
| 1955 | } else if (this.tint && !tint) { |
| 1956 | setTintImpl(0xFFFFFFFF); |
| 1957 | } |
| 1958 | this.tint = tint; |
| 1959 | } |
| 1960 | |
| 1961 | |
| 1962 | @Override |
no test coverage detected