static BufferedImage renderBackgroundPlusBoxes_withHints(int w, int h, BackgroundPlusBoxes s) { BufferedImage bi = renderBackgroundPlusBoxes(w, h, s); for (BoxWithColor e : s.boxes) { 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); drawRect(g, x1, y1, x2-x1+1, y2-y1+1, colorWithAlpha(0.5, Color.black)); } ret bi; }
Began life as a copy of #1014951
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: | #1014958 |
| Snippet name: | renderBackgroundPlusBoxes_withHints |
| Eternal ID of this version: | #1014958/4 |
| Text MD5: | eabcbdbf939d079fc297b79a1094fa0e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-07 02:02:35 |
| Source code size: | 400 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 658 / 671 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |