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

3
LINES

< > BotCompany Repo | #1035450 // combinedChildBounds

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

Libraryless. Click here for Pure Java version (8080L/46K).

static Rect combinedChildBounds(Container c) {
  ret mergeRects(map(listChildren(c), child -> toRect(getBounds(child))));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035450
Snippet name: combinedChildBounds
Eternal ID of this version: #1035450/1
Text MD5: e9514aa562edf9f59183a1bef27d9f52
Transpilation MD5: 5dfd3906dd2a6d378897037d92efce00
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-13 17:26:13
Source code size: 125 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 135 / 188
Referenced in: [show references]