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

10
LINES

< > BotCompany Repo | #1036006 // AbstractWAndH

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

Libraryless. Click here for Pure Java version (9174L/52K).

abstract persistable sclass AbstractWAndH > Meta is WidthAndHeight {
  int w, h;
  
  public int getWidth() { ret w; }
  public int getHeight() { ret h; }
  
  *(int *w, int *h) {}
  
  S sizeToString() { ret n2(w) + "*" + n2(h) + " px"; }
}

Author comment

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