1 | static void markPointsInRGBImage(RGBImage img, L<Pt> points) { |
2 | markPointsInRGBImage(img, points, Color.red); |
3 | } |
4 | |
5 | static void markPointsInRGBImage(RGBImage img, L<Pt> points, Color color) { |
6 | for (Pt p : points) |
7 | img.setPixel(p.x, p.y, color); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006186 |
Snippet name: | markPointsInRGBImage |
Eternal ID of this version: | #1006186/1 |
Text MD5: | 81bb7406ef038735d8084f49e611de03 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-22 22:29:29 |
Source code size: | 255 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 514 / 556 |
Referenced in: | [show references] |