Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

23
LINES

< > BotCompany Repo | #1016390 // shootScreenArea - synonym of shootScreen2

JavaX fragment (include)

1  
 // Use program "scrot" to make full-screen screenshots (on Linux); prevents the bug https://bugs.openjdk.java.net/browse/JDK-7168628
2  
3  
static BufferedImage shootScreenArea() {
4  
  ret shootScreen2();
5  
}
6  
7  
8  
9  
static BufferedImage shootScreenArea(Rectangle area) {
10  
  ret shootScreen2(area);
11  
}
12  
13  
14  
15  
static BufferedImage shootScreenArea(Rect area) {
16  
  ret shootScreen2(area);
17  
}
18  
19  
20  
21  
static BufferedImage shootScreenArea(int x, int y, int w, int h) {
22  
  ret shootScreen2(x, y, w, h);
23  
}

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: #1016390
Snippet name: shootScreenArea - synonym of shootScreen2
Eternal ID of this version: #1016390/1
Text MD5: 965132ea396e6b77653057fa70c4b94b
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-16 18:37:30
Source code size: 478 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 465 / 497
Referenced in: [show references]