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: | 137 / 191 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |