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

6
LINES

< > BotCompany Repo | #1031384 // greenDotsOnWhiteImage

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

Transpiled version (3273L) is out of date.

1  
static BufferedImage greenDotsOnWhiteImage(int w, int h, Cl<Pt> points, int pointSize default 3) {
2  
  var image = whiteImage(w, h);
3  
  fOr (Pt p : points)
4  
    fillCircle(image, p.x, p.y, (pointSize+1)/2, Color.green);
5  
  ret image;
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031384
Snippet name: greenDotsOnWhiteImage
Eternal ID of this version: #1031384/4
Text MD5: b1c8125c2337e61a26771223c83c7452
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-07 16:39:55
Source code size: 237 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 244 / 292
Version history: 3 change(s)
Referenced in: [show references]