Transpiled version (5237L) is out of date.
static BufferedImage bufferedImage(int[] pixels, int w, int h) { ret intArrayToBufferedImage(pixels, w, h); } static BufferedImage bufferedImage(int[] pixels, WidthAndHeight size) { ret bufferedImage(pixels, size.getWidth(), size.getHeight()); } static BufferedImage bufferedImage(int w, int h, int[] pixels) { ret intArrayToBufferedImage(pixels, w, h); } // undefined color, seems to be all black in practice static BufferedImage bufferedImage(int w, int h) { ret newBufferedImage(w, h); } static BufferedImage bufferedImage(int w, int h, RGB rgb) { ret newBufferedImage(w, h, rgb); } static BufferedImage bufferedImage(int w, int h default w, Color color) { ret newBufferedImage(w, h, color); } static BufferedImage bufferedImage(Pt p, Color color) { ret newBufferedImage(p, color); } static BufferedImage bufferedImage(WidthAndHeight size, Color color) { ret newBufferedImage(size.w(), size.h(), color); } static BufferedImage bufferedImage(Color color, WidthAndHeight size) { ret bufferedImage(size, color); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032488 |
| Snippet name: | bufferedImage - synonym of newBufferedImage |
| Eternal ID of this version: | #1032488/7 |
| Text MD5: | 4b43f9ceb39b73d07336d2244f51b642 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-04-18 00:28:57 |
| Source code size: | 1082 bytes / 40 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 468 / 592 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |