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

7
LINES

< > BotCompany Repo | #1006816 // growRectLeft

JavaX fragment (include)

1  
static Rect growRectLeft(Rect r, int pixels) {
2  
  ret new Rect(r.x-pixels, r.y, r.w+pixels, r.h);
3  
}
4  
5  
static Rect growRectLeft(int pixels, Rect r) {
6  
  ret growRectLeft(r, pixels);
7  
}

Author comment

Began life as a copy of #1006163

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006816
Snippet name: growRectLeft
Eternal ID of this version: #1006816/2
Text MD5: cf741d7902365431a77774aceb0a2b0a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-26 00:26:27
Source code size: 181 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 629 / 655
Version history: 1 change(s)
Referenced in: [show references]