Libraryless. Click here for Pure Java version (5555L/31K).
1 | static BufferedImage cloneClipBufferedImage(BufferedImage src, Rectangle clip) { |
2 | ret cloneBufferedImage(clipBufferedImage(src, clip)); |
3 | } |
4 | |
5 | static BufferedImage cloneClipBufferedImage(BufferedImage src, Rect r) { |
6 | ret cloneBufferedImage(clipBufferedImage(src, r)); |
7 | } |
8 | |
9 | static BufferedImage cloneClipBufferedImage(BufferedImage src, int x, int y, int w, int h) { |
10 | ret cloneBufferedImage(clipBufferedImage(src, x, y, w, h)); |
11 | } |
12 | |
13 | static L<BufferedImage> cloneClipBufferedImage(BufferedImage src, Iterable<Rect> rects) { |
14 | ret map(rects, r -> cloneClipBufferedImage(src, r)); |
15 | } |
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: | 483 / 601 |
Version history: | 3 change(s) |
Referenced in: | [show references] |