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

5
LINES

< > BotCompany Repo | #1033744 // drawOnWhite

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

Libraryless. Click here for Pure Java version (4623L/26K).

static BufferedImage drawOnWhite(int w, int h, IVF1<Graphics2D> draw) {
  var img = whiteImage(w, h);
  draw?.get(createGraphics(img));
  ret img;
}

Author comment

Began life as a copy of #1033623

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033744
Snippet name: drawOnWhite
Eternal ID of this version: #1033744/1
Text MD5: 130a6e4fd9880205a4f8fc058894b0bd
Transpilation MD5: 6ccf37e8e53b6d549822146377a07a5c
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-01 20:59:48
Source code size: 152 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 178 / 248
Referenced in: [show references]