Warning: session_start(): open(/var/lib/php/sessions/sess_eogn1dbk1vupmjpg4s5b4e6r40, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
HasBounds [1035601]

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

6
LINES

< > BotCompany Repo | #1035601 // HasBounds

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

Libraryless. Click here for Pure Java version (9094L/50K).

1  
interface HasBounds extends WidthAndHeight {
2  
  Rect bounds();
3  
  
4  
  default int getWidth() { ret bounds().h; }
5  
  default int getHeight() { ret bounds().w; }
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035601
Snippet name: HasBounds
Eternal ID of this version: #1035601/3
Text MD5: 2be4cffca51cc9810de4642972831d4a
Transpilation MD5: 7b1d8adfc8f1ce0a756fa0024bdc9253
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-26 22:04:22
Source code size: 162 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 464 / 549
Version history: 2 change(s)
Referenced in: [show references]