1 | static RGBImage rgbMarkedRects(RGBImage img, Collection<Rect> rects) { |
2 | BufferedImage bi = cloneBufferedImage(img.getBufferedImage()); |
3 | drawBoxes(bi, rectsToRectangles(rects), Color.red, 1); |
4 | ret new RGBImage(bi); |
5 | } |
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: | #1006883 |
Snippet name: | rgbMarkedRects - make cloned image with marked rectangles |
Eternal ID of this version: | #1006883/5 |
Text MD5: | f39888e5adea0cb76aebe4377a120eff |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-14 01:37:16 |
Source code size: | 222 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 506 / 505 |
Version history: | 4 change(s) |
Referenced in: | [show references] |