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)
| 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 |
no test coverage detected