Transpiled version (4005L) is out of date.
// alpha is from 0 to 1 static BufferedImage markPointInImageWithAlpha(BufferedImage img, Pt etc p, Color color, double alpha, int size default 3) { if (img != null &&p != null) rgbFillRect(img, p.x-size/2, p.y-size/2, size, size, colorWithAlpha(color, alpha)); ret img; }
Began life as a copy of #1006777
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032214 | 
| Snippet name: | markPointInImageWithAlpha | 
| Eternal ID of this version: | #1032214/2 | 
| Text MD5: | aecb389e5f0e8943e0f978a4c146c7ca | 
| 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:06 | 
| Source code size: | 285 bytes / 6 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 386 / 516 | 
| Version history: | 1 change(s) | 
| Referenced in: | [show references] |