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

8
LINES

< > BotCompany Repo | #1035589 // WAndHImpl . TODO: merge with WidthAndHeightImpl

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

Transpiled version (9109L) is out of date.

srecord noeq WAndHImpl(int w, int h) extends Meta is WidthAndHeight {
  public int getWidth() { ret w; }
  public int getHeight() { ret h; }
  
  toString { ret n2(w) + "*" + n2(h) + " px"; }
  
  void setSize(int w, int h) { this.w = w; this.h = h; }
}

Author comment

Began life as a copy of #1033637

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035589
Snippet name: WAndHImpl . TODO: merge with WidthAndHeightImpl
Eternal ID of this version: #1035589/4
Text MD5: 1b749234655b96bb7e86ece93ccb2439
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:58:01
Source code size: 260 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 610 / 666
Version history: 3 change(s)
Referenced in: [show references]