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).

interface HasBounds extends WidthAndHeight {
  Rect bounds();
  
  default int getWidth() { ret bounds().h; }
  default int getHeight() { ret bounds().w; }
}

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: 67 / 97
Version history: 2 change(s)
Referenced in: [show references]