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

3
LINES

< > BotCompany Repo | #1033814 // growRectTopAndLeft

JavaX fragment (include)

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

Author comment

Began life as a copy of #1006823

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033814
Snippet name: growRectTopAndLeft
Eternal ID of this version: #1033814/1
Text MD5: f70060e308fd0e0ba980abebc6d2560f
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:15:37
Source code size: 130 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 73 / 97
Referenced in: [show references]