static BufferedImage whiteImage(int w, int h) { ret newBufferedImage(w, h, Color.white); } static BufferedImage whiteImage(int size) { ret whiteImage(size, size); } static BufferedImage whiteImage(WidthAndHeight size) { ret whiteImage(size.getWidth(), size.getHeight()); }
Began life as a copy of #1007136
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009822 |
Snippet name: | whiteImage - make all-white BufferedImage with defined size |
Eternal ID of this version: | #1009822/5 |
Text MD5: | 617e5f4f518445a5fa76c26c86e2539a |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-13 03:32:11 |
Source code size: | 290 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 584 / 618 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1025467 - blackImage - make all-black BufferedImage with defined size |