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

11
LINES

< > BotCompany Repo | #1023028 // shootScreenRGB - shootScreen as RGBImage

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10321L/58K).

1  
static RGBImage shootScreenRGB() ctex {
2  
  ret shootScreenRGB(screenRectangle());
3  
}
4  
5  
static RGBImage shootScreenRGB(Rectangle area) ctex {
6  
  return new RGBImage(shootScreen(area));
7  
}
8  
9  
static RGBImage shootScreenRGB(Rect area) {
10  
  return shootScreenRGB(area.getRectangle());
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023028
Snippet name: shootScreenRGB - shootScreen as RGBImage
Eternal ID of this version: #1023028/3
Text MD5: a39e780d05ed3c697149e8fbb6f1243b
Transpilation MD5: f00c7bcab915ff9b05b32dc8daedacbc
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-23 21:30:08
Source code size: 284 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 316 / 390
Version history: 2 change(s)
Referenced in: [show references]