Libraryless. Click here for Pure Java version (5434L/30K).
1 | asclass RegionPainter { |
2 | settable double zoomX; |
3 | settable double zoomY; |
4 | settable IImageRegion region; |
5 | settable Graphics2D g; |
6 | |
7 | abstract void drawRegion(); |
8 | |
9 | Rect bounds() { ret region.bounds(); } |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033854 |
Snippet name: | RegionPainter |
Eternal ID of this version: | #1033854/6 |
Text MD5: | 42a15c1f99e0706b9b07c3142ae05e45 |
Transpilation MD5: | 8038c1cd2c26965b1f28f9ca5df75008 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-15 17:43:47 |
Source code size: | 218 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 155 / 249 |
Version history: | 5 change(s) |
Referenced in: | [show references] |