Libraryless. Click here for Pure Java version (10103L/56K).
svoid drawPolygon(Graphics2D etc g, L<Pt> points, Color color) { g.setColor(color); g.drawPolygon(pointsX(points), pointsY(points), l(points)); }
Began life as a copy of #1014970
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: | #1014978 |
| Snippet name: | drawPolygon |
| Eternal ID of this version: | #1014978/4 |
| Text MD5: | 826dd9bef05dffcdc56e360c17bb5f67 |
| Transpilation MD5: | e20073c5b39a51c74cb78f2f28ee0baa |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2023-01-23 15:19:26 |
| Source code size: | 152 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 776 / 889 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |