Libraryless. Click here for Pure Java version (9174L/52K).
1 | abstract persistable sclass AbstractWAndH > Meta is WidthAndHeight {
|
2 | int w, h; |
3 | |
4 | public int getWidth() { ret w; }
|
5 | public int getHeight() { ret h; }
|
6 | |
7 | *(int *w, int *h) {}
|
8 | |
9 | S sizeToString() { ret n2(w) + "*" + n2(h) + " px"; }
|
10 | } |
Began life as a copy of #1035589
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036006 |
| Snippet name: | AbstractWAndH |
| Eternal ID of this version: | #1036006/3 |
| Text MD5: | 1dd586ca4d87dcec34ba56538ba8ba8e |
| Transpilation MD5: | 5d1f291b71b82935458f8d87006b1ec2 |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-08-23 16:40:24 |
| Source code size: | 250 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 554 / 663 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |