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

7
LINES

< > BotCompany Repo | #1006575 // screenRect

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

Libraryless. Click here for Pure Java version (2285L/14K).

1  
static Rect screenRect() {
2  
  ret new Rect(screenRectangle());
3  
}
4  
5  
static Rect screenRect(GraphicsDevice device) {
6  
  ret toRect(screenRectangle(device));
7  
}

Author comment

Began life as a copy of #1004980

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: #1006575
Snippet name: screenRect
Eternal ID of this version: #1006575/3
Text MD5: 1821a94939ce25aae1c9c0ea475061b9
Transpilation MD5: 9e5d28287eefb8af5bf37c528e69e512
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-06 14:33:30
Source code size: 161 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 507 / 590
Version history: 2 change(s)
Referenced in: [show references]