Libraryless. Click here for Pure Java version (9207L/51K).
static Dimension getScreenSize() { return Toolkit.getDefaultToolkit().getScreenSize(); } static Dimension getScreenSize(int iScreen) { ret toDimension(screenBounds(iScreen).widthAndHeight()); }
Began life as a copy of #1001347
download show line numbers debug dex old transpilations
Travelled to 20 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, hpgrupgrauku, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, odhhsrjjbcgr, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, rjpzpeejafvs, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1001433 |
| Snippet name: | getScreenSize |
| Eternal ID of this version: | #1001433/2 |
| Text MD5: | 54c5ffcd81aaccca79821cd2875a96ab |
| Transpilation MD5: | f2597156e3bed6fb795e95c42b464b37 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-05-26 21:47:25 |
| Source code size: | 204 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 926 / 1945 |
| Version history: | 1 change(s) |
| Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1004635 - getScreenWidth #1004984 - screenSize - synonym of getScreenSize #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014565 - screenCenter #3000382 - Answer for ferdie (>> t = 1, f = 0) |