Libraryless. Click here for Pure Java version (9151L/51K).
1 | static WidthAndHeight widthAndHeight(BufferedImage image) { |
2 | ret image == null ?: widthAndHeight(image.getWidth(), image.getHeight()); |
3 | } |
4 | |
5 | static WidthAndHeight widthAndHeight(int w, int h default w) { |
6 | ret new WidthAndHeightFinal(w, h); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034487 |
Snippet name: | widthAndHeight |
Eternal ID of this version: | #1034487/5 |
Text MD5: | 5d05fc7edd2f8a3cd09831334d68ed1a |
Transpilation MD5: | c76b66136843b3cca7000f849a924cf2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-21 07:39:23 |
Source code size: | 246 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 186 / 281 |
Version history: | 4 change(s) |
Referenced in: | [show references] |