1 | static int drawThoughtLine_width = 10; |
2 | |
3 | static void drawThoughtLine(BufferedImage bg, |
4 | BufferedImage img1, int x1, int y1, |
5 | BufferedImage img2, int x2, int y2, Color color) {
|
6 | Graphics2D g = imageGraphics(bg); |
7 | g.setColor(color); |
8 | g.setStroke(new BasicStroke(drawThoughtLine_width)); |
9 | g.drawLine(x1, y1, x2, y2); |
10 | g.dispose(); |
11 | } |
Began life as a copy of #1007293
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007297 |
| Snippet name: | drawThoughtLine - draws on bg |
| Eternal ID of this version: | #1007297/8 |
| Text MD5: | 510202a4e7b202534bd5c00a5fd8d988 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-03-15 03:40:39 |
| Source code size: | 345 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 668 / 682 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |