Libraryless. Click here for Pure Java version (5080L/28K).
1 | svoid setPixels(BufferedImage img, Iterable<Pt> points, Color color) { |
2 | if (img == null) ret; |
3 | fOr (p : points) |
4 | img.setRGB(p.x, p.y, colorToIntOpaque(color)); |
5 | } |
Began life as a copy of #1031353
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034972 |
Snippet name: | setPixels |
Eternal ID of this version: | #1034972/1 |
Text MD5: | 59e428ea2ac0082bf990544763999ecc |
Transpilation MD5: | e2ac0c99d2866e7184bedbdbb9b17da1 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-19 18:22:14 |
Source code size: | 170 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 121 / 185 |
Referenced in: | [show references] |