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

13
LINES

< > BotCompany Repo | #1006957 // rgbMarkPoints - modifies original image

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

Libraryless. Click here for Pure Java version (4911L/32K).

static RGBImage rgbMarkPoints(RGBImage img, Color color, int size, Pt... points) {
  for (Pt p : points)
    rgbMarkPoint(img, p, color, size);
  ret img;
}

static RGBImage rgbMarkPoints(RGBImage img, Pt... points) {
  ret rgbMarkPoints(img, Color.red, 3, points);
}

static RGBImage rgbMarkPoints(Iterable<Pt> points, int size, RGBImage img) {
  ret rgbMarkPoints(img, Color.red, size, toTypedArray Pt(points));
}

Author comment

Began life as a copy of #1006777

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1006957
Snippet name: rgbMarkPoints - modifies original image
Eternal ID of this version: #1006957/4
Text MD5: 97114ea27079705542d77421dca3a9ba
Transpilation MD5: cd6ff1c6e92778b73eecee273e081bb8
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-01 01:33:31
Source code size: 427 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 548 / 628
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)