( begin auto-generated from fill.xml ) 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 col
(int rgb)
| 6781 | * @see PGraphics#colorMode(int, float, float, float, float) |
| 6782 | */ |
| 6783 | public void fill(int rgb) { |
| 6784 | colorCalc(rgb); |
| 6785 | fillFromCalc(); |
| 6786 | } |
| 6787 | |
| 6788 | /** |
| 6789 | * @param alpha opacity of the fill |
no test coverage detected