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

7
LINES

< > BotCompany Repo | #1005623 // intersectWithScreen

JavaX fragment (include)

static Rectangle intersectWithScreen(Rectangle r) {
  ret r.intersection(screenRectangle());
}

static Rect intersectWithScreen(Rect r) {
  ret new Rect(intersectWithScreen(r.getRectangle()));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005623
Snippet name: intersectWithScreen
Eternal ID of this version: #1005623/1
Text MD5: 8a77f184e7d38a667bcba3e0408a2f2b
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-15 02:13:23
Source code size: 200 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 531 / 534
Referenced in: [show references]