Libraryless. Click here for Pure Java version (7894L/45K).
1 | sclass RegionFillPainter > RegionPainter {
|
2 | void drawRegion {
|
3 | Area area = regionToArea(regions, iRegion); |
4 | g.setColor(withOpacity(.5, Color.green)); |
5 | g.scale(zoomX, zoomY); |
6 | fillShape(g, area); |
7 | } |
8 | } |
Began life as a copy of #1033855
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033856 |
| Snippet name: | RegionFillPainter |
| Eternal ID of this version: | #1033856/3 |
| Text MD5: | 64270e75532cc0598c701c9428fad0bf |
| Transpilation MD5: | 987fb462cf4457e8e8739b502447605d |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-07 04:48:55 |
| Source code size: | 220 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 365 / 495 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |