Libraryless. Click here for Pure Java version (14623L/90K).
static ImageSurface polygonFillingDemo() { ret pixelatedZoomedImageSurface(renderShape(Color.green, PrecisePolygon( 1, 1, 3, 1, 3, 3, 1, 3), 4, 4)); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033754 | 
| Snippet name: | polygonFillingDemo - shows how Graphics2D paints a polygon (exclusive in right/bottom points) | 
| Eternal ID of this version: | #1033754/2 | 
| Text MD5: | 7b1f75184b7d1830f3c16b0bfa086497 | 
| Transpilation MD5: | 21d540063f7ef815e1787655208c974f | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-01-01 22:31:31 | 
| Source code size: | 157 bytes / 4 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 368 / 465 | 
| Version history: | 1 change(s) | 
| Referenced in: | [show references] |