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).

static RGBImage shootScreenRGB() ctex {
  ret shootScreenRGB(screenRectangle());
}

static RGBImage shootScreenRGB(Rectangle area) ctex {
  return new RGBImage(shootScreen(area));
}

static RGBImage shootScreenRGB(Rect area) {
  return shootScreenRGB(area.getRectangle());
}

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: 315 / 388
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)