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

3
LINES

< > BotCompany Repo | #1034659 // rectFromPointsOrNull

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5005L/28K).

static Rect rectFromPointsOrNull(int x1, int y1, int x2, int y2) {
  ret nullIfEmptyRect(pointsRect(x1, y1, x2, y2));
}

Author comment

Began life as a copy of #1005898

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034659
Snippet name: rectFromPointsOrNull
Eternal ID of this version: #1034659/1
Text MD5: 3b4bfc5e0276e490c6df973dacbf93f0
Transpilation MD5: 9fcf457f4741d8a117315f3de0ce0069
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-28 23:29:32
Source code size: 121 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 159 / 203
Referenced in: [show references]