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

Method fill

core/src/processing/core/PShape.java:847–860  ·  view source on GitHub ↗
(int rgb)

Source from the content-addressed store, hash-verified

845
846
847 public void fill(int rgb) {
848 if (!openShape) {
849 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "fill()");
850 return;
851 }
852
853 fill = true;
854 colorCalc(rgb);
855 fillColor = calcColor;
856
857 if (!setAmbient) {
858 ambientColor = fillColor;
859 }
860 }
861
862
863 public void fill(int rgb, float alpha) {

Callers 15

getTessellationMethod · 0.95
rawPolysMethod · 0.45
rawSortedPolysMethod · 0.45
clearMethod · 0.45
addVertexMethod · 0.45
splitRawIndicesMethod · 0.45
fillEdgesMethod · 0.45
setFillImplMethod · 0.45
setTintImplMethod · 0.45
setStrokeImplMethod · 0.45
setStrokeWeightImplMethod · 0.45
setAmbientImplMethod · 0.45

Calls 3

showWarningMethod · 0.95
colorCalcMethod · 0.95
ambientMethod · 0.95

Tested by

no test coverage detected