static Rect shrinkRectLeftAndTop(Rect r, int pixels) { ret shrinkRectLeftAndTop(pixels, pixels, r); } static Rect shrinkRectLeftAndTop(int x, int y, Rect r) { ret Rect(r.x+x, r.y+y, r.w-x, r.h-y); } static Rect shrinkRectLeftAndTop(Rect r, int x, int y) { ret shrinkRectLeftAndTop(x, y, r); }
Began life as a copy of #1010286
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026938 |
Snippet name: | shrinkRectLeftAndTop |
Eternal ID of this version: | #1026938/3 |
Text MD5: | 0103b0250cc46952981c78bcf7e3e442 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-03 02:36:26 |
Source code size: | 310 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 238 / 261 |
Version history: | 2 change(s) |
Referenced in: | [show references] |