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

7
LINES

< > BotCompany Repo | #1006657 // rgbImage - make new RGBImage

JavaX fragment (include)

1  
static RGBImage rgbImage(Color color, int w, int h) {
2  
  ret new RGBImage(w, h, color);
3  
}
4  
5  
static RGBImage rgbImage(int color, int w, int h) {
6  
  ret new RGBImage(w, h, new RGB(color));
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006657
Snippet name: rgbImage - make new RGBImage
Eternal ID of this version: #1006657/3
Text MD5: c2a7a13efe2149f06cb273a20009ccbb
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-07 00:19:09
Source code size: 191 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 527 / 551
Version history: 2 change(s)
Referenced in: [show references]