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

3
LINES

< > BotCompany Repo | #1034854 // aspectRatio

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

Libraryless. Click here for Pure Java version (9098L/51K).

static double aspectRatio(WidthAndHeight etc img) {
  ret img == null ? Double.NaN : doubleRatio(img.getWidth(), img.getHeight());
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034854
Snippet name: aspectRatio
Eternal ID of this version: #1034854/2
Text MD5: 28d87148baa2446a7b2c05ffa5fde075
Transpilation MD5: b5ddadf9f9a003993488e26a5613da59
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-26 21:52:18
Source code size: 134 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 212
Version history: 1 change(s)
Referenced in: [show references]