Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1033854 // RegionPainter

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5434L/30K).

asclass RegionPainter {
  settable double zoomX;
  settable double zoomY;
  settable IImageRegion region;
  settable Graphics2D g;
  
  abstract void drawRegion();
  
  Rect bounds() { ret region.bounds(); }
}

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: 156 / 249
Version history: 5 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)