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

6
LINES

< > BotCompany Repo | #1006874 // translateRects

JavaX fragment (include)

1  
static L<Rect> translateRects(Collection<Rect> c, int x, int y) {
2  
  new L<Rect> l;
3  
  for (Rect r : c)
4  
    l.add(translateRect(r, x, y));
5  
  ret l;
6  
}

Author comment

Began life as a copy of #1005846

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006874
Snippet name: translateRects
Eternal ID of this version: #1006874/1
Text MD5: a50a8a584c1743cc144208b1e0f9c315
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-12 23:08:21
Source code size: 152 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 461 / 485
Referenced in: [show references]