Libraryless. Click here for Pure Java version (4911L/32K).
1 | static RGBImage rgbMarkPoints(RGBImage img, Color color, int size, Pt... points) {
|
2 | for (Pt p : points) |
3 | rgbMarkPoint(img, p, color, size); |
4 | ret img; |
5 | } |
6 | |
7 | static RGBImage rgbMarkPoints(RGBImage img, Pt... points) {
|
8 | ret rgbMarkPoints(img, Color.red, 3, points); |
9 | } |
10 | |
11 | static RGBImage rgbMarkPoints(Iterable<Pt> points, int size, RGBImage img) {
|
12 | ret rgbMarkPoints(img, Color.red, size, toTypedArray Pt(points)); |
13 | } |
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: | 819 / 931 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |