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

7
LINES

< > BotCompany Repo | #1006824 // growRectBottom

JavaX fragment (include)

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

Author comment

Began life as a copy of #1006823

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006824
Snippet name: growRectBottom
Eternal ID of this version: #1006824/2
Text MD5: 5448a6be7c6c7746d728978264b65535
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-28 20:10:54
Source code size: 180 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 538
Version history: 1 change(s)
Referenced in: [show references]