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

12
LINES

< > BotCompany Repo | #1027276 // Image Surface

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (6951L/35K).

!7

cm AnImageSurface > DynImageSurface {
  switchable S title;
  
  start {
    dm_watchFieldAndNow title(r { setModuleName(title) });
    if (!hasImage()) setImage(whiteImage(50, 50));
  }
  
  bool autoSaveToDiskDefault() { true; }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027276
Snippet name: Image Surface
Eternal ID of this version: #1027276/6
Text MD5: a14db94a29749b4e5059e91dbc1fa571
Transpilation MD5: 78809744fe203586120db17ea82d6437
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-18 03:27:51
Source code size: 236 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 246 / 4745
Version history: 5 change(s)
Referenced in: #1029733 - dm_showImage
#1032419 - dm_showImageAs - overwrites existing image with same title