Libraryless. Click here for Pure Java version (5555L/31K).
static BufferedImage cloneClipBufferedImage(BufferedImage src, Rectangle clip) { ret cloneBufferedImage(clipBufferedImage(src, clip)); } static BufferedImage cloneClipBufferedImage(BufferedImage src, Rect r) { ret cloneBufferedImage(clipBufferedImage(src, r)); } static BufferedImage cloneClipBufferedImage(BufferedImage src, int x, int y, int w, int h) { ret cloneBufferedImage(clipBufferedImage(src, x, y, w, h)); } static L<BufferedImage> cloneClipBufferedImage(BufferedImage src, Iterable<Rect> rects) { ret map(rects, r -> cloneClipBufferedImage(src, r)); }
Began life as a copy of #1005700
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017142 |
| Snippet name: | cloneClipBufferedImage - make actual copy |
| Eternal ID of this version: | #1017142/4 |
| Text MD5: | 7bfabd1c373b2ccbddab9fa46d23f6a1 |
| Transpilation MD5: | cb0ae399f686f904883c6fc6373b3795 |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-11 06:51:31 |
| Source code size: | 591 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 680 / 842 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |