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

7
LINES

< > BotCompany Repo | #1006816 // growRectLeft

JavaX fragment (include)

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

static Rect growRectLeft(int pixels, Rect r) {
  ret growRectLeft(r, pixels);
}

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: 630 / 656
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1006822 - growRectRight
#1006823 - growRectTop