Libraryless. Click here for Pure Java version (3340L/18K).
1 | static Rect screenBounds(GraphicsDevice screen) { |
2 | ret screen == null ?: toRect(screen.getDefaultConfiguration().getBounds()); |
3 | } |
4 | |
5 | static Rect screenBounds(int iScreen) { |
6 | ret screenBounds(get(screenDevices(), iScreen)); |
7 | } |
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: | 195 / 275 |
Version history: | 1 change(s) |
Referenced in: | [show references] |