static BufferedImage renderBackgroundPlusRoundedBoxes_withHints(int w, int h, BackgroundPlus<RoundedBoxWithColor> s) { BufferedImage bi = renderBackgroundPlusRoundedBoxes(w, h, s); Graphics2D g = imageGraphics(bi); for (RoundedBoxWithColor e : s.things) { int x1 = min(e.a.x, e.b.x), y1 = min(e.a.y, e.b.y); int x2 = max(e.a.x, e.b.x), y2 = max(e.a.y, e.b.y); drawRoundedBox(g, x1, y1, x2-x1+1, y2-y1+1, e.roundness, halfBlack()); } g.dispose(); ret bi; }
Began life as a copy of #1015001
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: | #1015002 |
| Snippet name: | renderBackgroundPlusRoundedBoxes_withHints |
| Eternal ID of this version: | #1015002/3 |
| Text MD5: | a2c382515622f76fe9c637c3f8cd2638 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-06 23:05:47 |
| Source code size: | 489 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 560 / 632 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |