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

Method getFill

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

Source from the content-addressed store, hash-verified

1836
1837
1838 @Override
1839 public int getFill(int index) {
1840 if (family != GROUP && image == null) {
1841 return PGL.nativeToJavaARGB(inGeo.colors[index]);
1842 } else {
1843 return 0;
1844 }
1845 }
1846
1847
1848 @Override

Callers

nothing calls this directly

Calls 1

nativeToJavaARGBMethod · 0.95

Tested by

no test coverage detected