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

4
LINES

< > BotCompany Repo | #1006532 // colorAtMousePointer

JavaX fragment (include)

static RGB colorAtMousePointer() {
  Point p = mouseLocation();
  ret shootScreen(new Rect(p.x, p.y, 1, 1)).getPixel(0, 0);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006532
Snippet name: colorAtMousePointer
Eternal ID of this version: #1006532/1
Text MD5: 4a31aad3bfd31467fca677edca1056cd
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-15 16:11:06
Source code size: 128 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 474 / 483
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)