static Rect translateRect(int x, int y, Rect r) { ret translateRect(r, x, y); } static Rect translateRect(Rect r, int x, int y) { ret r == null ? null : new Rect(r.x+x, r.y+y, r.w, r.h); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005846 |
| Snippet name: | translateRect |
| Eternal ID of this version: | #1005846/3 |
| Text MD5: | f214fe8eed50c781132b1d3fa0b46e78 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-08-18 02:01:51 |
| Source code size: | 199 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 951 / 915 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1006874 - translateRects #1019156 - translateRectY #1035648 - rectRelative |