Libraryless. Click here for Pure Java version (3108L/17K).
svoid fillPolygon(Graphics2D g, L<Pt> points, Color color) { g.setColor(color); g.fillPolygon(pointsX(points), pointsY(points), l(points)); } svoid fillPolygon(BufferedImage image, L<Pt> points, Color color) { fillPolygon(imageGraphics(image), points, color); }
Began life as a copy of #1006921
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: | #1014970 |
Snippet name: | fillPolygon |
Eternal ID of this version: | #1014970/5 |
Text MD5: | fdf1303a2eff0b78fd6261fb206804c1 |
Transpilation MD5: | bc9189a7547a9eb7176fa13ce5dcb8d2 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-03 18:16:47 |
Source code size: | 275 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 446 / 556 |
Version history: | 4 change(s) |
Referenced in: | [show references] |