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

17
LINES

< > BotCompany Repo | #1005679 // Marked Screenshot Classes v2

JavaX fragment (include)

1  
concept Screenshot {
2  
  *() {} // for persistance
3  
  *(BufferedImage img) {
4  
    savePNG(pngFile(), img);
5  
  }
6  
  
7  
  File pngFile() {
8  
    ret prepareProgramFile("screenshot" + id + ".png");
9  
  }
10  
}
11  
12  
concept MarkedClip {
13  
  new Ref<Screenshot> screenshot;
14  
  Rect positionInScreenshot;
15  
  BWImage img;
16  
  S description;
17  
}

Author comment

Began life as a copy of #1005393

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005679
Snippet name: Marked Screenshot Classes v2
Eternal ID of this version: #1005679/1
Text MD5: a87607057dbe5216388b69986467e99a
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-02 20:37:00
Source code size: 327 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 483 / 482
Referenced in: [show references]