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

17
LINES

< > BotCompany Repo | #1005393 // Marked Screenshot Classes

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  
  Screenshot screenshot; // hmm...
14  
  Rect positionInScreenshot;
15  
  BWImage img;
16  
  S description;
17  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005393
Snippet name: Marked Screenshot Classes
Eternal ID of this version: #1005393/1
Text MD5: 2764171eef19542c4dab81a108a4c6b6
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:36:47
Source code size: 328 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 597 / 1245
Referenced in: [show references]