Transpiled version (3308L) is out of date.
1 | static Rect imgRect(BufferedImage img) {
|
2 | ret img == null ? : new Rect(0, 0, img.getWidth(), img.getHeight()); |
3 | } |
4 | |
5 | static Rect imgRect(WidthAndHeight img) {
|
6 | ret img == null ? : new Rect(0, 0, img.getWidth(), img.getHeight()); |
7 | } |
Began life as a copy of #1025284
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1029735 |
| Snippet name: | imgRect - just the size of the image |
| Eternal ID of this version: | #1029735/3 |
| Text MD5: | 14af7e9f5c9133cdabd0bf891bded38c |
| Author: | stefan |
| Category: | javax / images |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-19 20:20:28 |
| Source code size: | 235 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 391 / 511 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |