Libraryless. Click here for Pure Java version (3256L/18K).
svoid fillPrecisePolygon(Graphics2D etc g, L<DoublePt> points, Color color) { g.setColor(color); g.fill(PrecisePolygon(points)); } svoid fillPrecisePolygon(Graphics2D etc g, L<DoublePt> points) { g.fill(PrecisePolygon(points)); }
Began life as a copy of #1014970
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032174 |
Snippet name: | fillPrecisePolygon |
Eternal ID of this version: | #1032174/3 |
Text MD5: | b559b5528290201cfa55d11d50c5dd01 |
Transpilation MD5: | 34f21f9762dafd4635f24264f4ebc0b2 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-17 14:33:59 |
Source code size: | 243 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 175 / 261 |
Version history: | 2 change(s) |
Referenced in: | [show references] |