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

7
LINES

< > BotCompany Repo | #1035013 // markPointsInImageWithAlpha

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

Transpiled version (7652L) is out of date.

// alpha is from 0 to 1
static BufferedImage markPointsInImageWithAlpha(BufferedImage img, Iterable<Pt> points, Color color, double alpha, int size default 3) {
  if (img != null)
    fOr (p : points)
      markPointInImageWithAlpha(img, p, color, alpha, size);
  ret img;
}

Author comment

Began life as a copy of #1032214

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035013
Snippet name: markPointsInImageWithAlpha
Eternal ID of this version: #1035013/3
Text MD5: 0ee3c54b9c26809c4fbc4f3f29dc0905
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-22 23:21:02
Source code size: 280 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 70 / 103
Version history: 2 change(s)
Referenced in: [show references]