Transpiled version (9324L) is out of date.
static BufferedImage imageWithMarkedBoxes(BufferedImage image, Cl<Rect> boxes, Color color) { image = cloneBufferedImage(image); Graphics2D g = image.createGraphics(); for (r : boxes) drawRect(g, r.x-1, r.y-1, r.w+2, r.h+2, color); ret image; }
Began life as a copy of #1004268
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035439 |
Snippet name: | imageWithMarkedBoxes |
Eternal ID of this version: | #1035439/3 |
Text MD5: | 3f1d57ae740ce7b906a2a8e28377e42c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-10 20:38:31 |
Source code size: | 262 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 124 / 184 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |