(int rgb)
| 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) { |
no test coverage detected