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

8
LINES

< > BotCompany Repo | #1006186 - markPointsInRGBImage

JavaX fragment (include)

static void markPointsInRGBImage(RGBImage img, L<Pt> points) {
  markPointsInRGBImage(img, points, Color.red);
}

static void markPointsInRGBImage(RGBImage img, L<Pt> points, Color color) {
  for (Pt p : points)
    img.setPixel(p.x, p.y, color);
}

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: 370 / 382
Referenced in: [show references]