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

7
LINES

< > BotCompany Repo | #1024893 // growRectRightAndBottom

JavaX fragment (include)

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

Author comment

Began life as a copy of #1006822

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024893
Snippet name: growRectRightAndBottom
Eternal ID of this version: #1024893/3
Text MD5: b84e745bb4ea0e67e4c18bcf40ee1a4a
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-05 06:13:57
Source code size: 193 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 243 / 275
Version history: 2 change(s)
Referenced in: [show references]