Libraryless. Click here for Pure Java version (3340L/18K).
static Rect screenBounds(GraphicsDevice screen) { ret screen == null ?: toRect(screen.getDefaultConfiguration().getBounds()); } static Rect screenBounds(int iScreen) { ret screenBounds(get(screenDevices(), iScreen)); }
Began life as a copy of #1018306
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032082 |
Snippet name: | screenBounds |
Eternal ID of this version: | #1032082/2 |
Text MD5: | 021f59022b920f03c790884fb1312d9e |
Transpilation MD5: | 69093430b28b2586c1a32fd100903b41 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 12:52:44 |
Source code size: | 229 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 193 / 272 |
Version history: | 1 change(s) |
Referenced in: | [show references] |