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

3
LINES

< > BotCompany Repo | #1005898 // pointsRect - create Rect from x1, y1, x2, y2

JavaX fragment (include)

static Rect pointsRect(int x1, int y1, int x2, int y2) {
  ret new Rect(x1, y1, x2-x1, y2-y1);
}

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: #1005898
Snippet name: pointsRect - create Rect from x1, y1, x2, y2
Eternal ID of this version: #1005898/1
Text MD5: febc4fdfc3378f6e0afe76907e312c3e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-12 15:04:23
Source code size: 98 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 492 / 531
Referenced in: [show references]