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

Method setTint

core/src/processing/opengl/PShapeOpenGL.java:1943–1959  ·  view source on GitHub ↗
(boolean tint)

Source from the content-addressed store, hash-verified

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

Callers 2

enableStyleMethod · 0.95
stylesMethod · 0.95

Calls 4

showWarningMethod · 0.95
setTintImplMethod · 0.95
javaToNativeARGBMethod · 0.95
markForTessellationMethod · 0.95

Tested by

no test coverage detected