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

7
LINES

< > BotCompany Repo | #1024893 // growRectRightAndBottom

JavaX fragment (include)

static Rect growRectRightAndBottom(Rect r, int x, int y) {
  ret new Rect(r.x, r.y, r.w+x, r.h+y);
}

static Rect growRectRightAndBottom(Rect r) {
  ret growRectRightAndBottom(r, 1, 1);
}

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: 172 / 209
Version history: 2 change(s)
Referenced in: [show references]