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

7
LINES

< > BotCompany Repo | #1035647 // leftScreenHalf

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

Transpiled version (9557L) is out of date.

static Rect leftScreenHalf(GraphicsDevice screen) {
  ret rectRelative(0, 0, 0.5, 1, screenBounds(screen));
}

static Rect leftScreenHalf(int iScreen default 0) {
  ret rectRelative(0, 0, 0.5, 1, screenBounds(iScreen));
}

Author comment

Began life as a copy of #1032082

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035647
Snippet name: leftScreenHalf
Eternal ID of this version: #1035647/6
Text MD5: a5600f7a6d203161c793fa4d170c0246
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-27 13:31:51
Source code size: 227 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 146 / 208
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)