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

Method getTint

core/src/processing/opengl/PShapeOpenGL.java:1933–1940  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

1931
1932
1933 @Override
1934 public int getTint(int index) {
1935 if (family != GROUP && image != null) {
1936 return PGL.nativeToJavaARGB(inGeo.colors[index]);
1937 } else {
1938 return 0;
1939 }
1940 }
1941
1942
1943 @Override

Callers

nothing calls this directly

Calls 1

nativeToJavaARGBMethod · 0.95

Tested by

no test coverage detected