MCPcopy Index your code
hub / github.com/benfry/processing4 / fill

Method fill

core/src/processing/core/PGraphics.java:6785–6788  ·  view source on GitHub ↗

Sets the color used to fill shapes. For example, if you run fill(204, 102, 0) , all subsequent shapes will be filled with orange. This color is either specified in terms of the RGB or HSB color depending on the current colorMode() (the default color space is RGB, with each value in the

(int rgb)

Source from the content-addressed store, hash-verified

6783 * @see PGraphics#colorMode(int, float, float, float, float)
6784 */
6785 public void fill(int rgb) {
6786 colorCalc(rgb);
6787 fillFromCalc();
6788 }
6789
6790 /**
6791 * @param alpha opacity of the fill

Callers 5

rawPolysMethod · 0.95
defaultSettingsMethod · 0.95
reapplySettingsMethod · 0.95
styleMethod · 0.95
backgroundImplMethod · 0.95

Calls 2

colorCalcMethod · 0.95
fillFromCalcMethod · 0.95

Tested by

no test coverage detected