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

16
LINES

< > BotCompany Repo | #1019900 // shootScreen2_possiblyBroken

JavaX fragment (include)

1  
static BufferedImage shootScreen2_possiblyBroken() {
2  
  ret shootScreen2_possiblyBroken(screenRectangle());
3  
}
4  
5  
static BufferedImage shootScreen2_possiblyBroken(Rectangle area) ctex {
6  
  ping();
7  
  ret new Robot().createScreenCapture(area);
8  
}
9  
10  
static BufferedImage shootScreen2_possiblyBroken(Rect area) {
11  
  ret shootScreen2_possiblyBroken(area.getRectangle());
12  
}
13  
14  
static BufferedImage shootScreen2_possiblyBroken(int x, int y, int w, int h) {
15  
  ret shootScreen2_possiblyBroken(new Rectangle(x, y, w, h));
16  
}

Author comment

Began life as a copy of #1003731

download  show line numbers  debug dex  old transpilations   

Travelled to 11 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, odhhsrjjbcgr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019900
Snippet name: shootScreen2_possiblyBroken
Eternal ID of this version: #1019900/1
Text MD5: dd72adecd196e3eccfe856f18fce6b35
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-30 20:23:54
Source code size: 518 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 288 / 322
Referenced in: [show references]