static BufferedImage renderBackgroundPlusCircles(int w, int h, BackgroundPlus<CircleWithColor> s) {
BufferedImage bi = newBufferedImage(w, h, toColor(s.background));
Graphics2D g = imageGraphics(bi);
for (CircleWithColor e : s.things)
fillCircle(g, e.center.x, e.center.y, e.r, toColor(e.color));
g.dispose();
ret bi;
}Began life as a copy of #1014969
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014982 |
| Snippet name: | renderBackgroundPlusCircles - TODO: could just call renderOn()!? |
| Eternal ID of this version: | #1014982/5 |
| Text MD5: | 424ee852eca3384eba5da00d42767549 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-05 02:49:15 |
| Source code size: | 340 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 944 / 940 |
| Version history: | 4 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014984 - renderBackgroundPlusCircles_withHints |