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

Method setFill

core/src/processing/opengl/PShapeOpenGL.java:1848–1864  ·  view source on GitHub ↗
(boolean fill)

Source from the content-addressed store, hash-verified

1846
1847
1848 @Override
1849 public void setFill(boolean fill) {
1850 if (openShape) {
1851 PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setFill()");
1852 return;
1853 }
1854
1855 if (family == GROUP) {
1856 for (int i = 0; i < childCount; i++) {
1857 PShapeOpenGL child = (PShapeOpenGL) children[i];
1858 child.setFill(fill);
1859 }
1860 } else if (this.fill != fill) {
1861 markForTessellation();
1862 }
1863 this.fill = fill;
1864 }
1865
1866
1867 @Override

Callers 3

enableStyleMethod · 0.95
stylesMethod · 0.95
tessellateImplMethod · 0.45

Calls 4

showWarningMethod · 0.95
markForTessellationMethod · 0.95
setFillImplMethod · 0.95
javaToNativeARGBMethod · 0.95

Tested by

no test coverage detected