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

13
LINES

< > BotCompany Repo | #1007289 // Show Central Circle [WORKS]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (6039L/43K/152K).

!7

p-pretty /* although that's debatable given the detailed person */ {
  final BufferedImage img = loadImage2(#1007291);
  showFrame(jcanvas(func(int w, int h) {
    BufferedImage bg = renderTiledBackground(#1007195, w, h);
    BufferedImage circle = cutImageToCircle(img_addBorder(cutImageToCircle(img), Color.white, 10));
    int x = (w-circle.getWidth())/2;
    int y = (h-circle.getHeight())/2;
    drawImageOnImage(circle, bg, x, y);
    ret bg;
  }));
}

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: #1007289
Snippet name: Show Central Circle [WORKS]
Eternal ID of this version: #1007289/9
Text MD5: 40b05343448e9b4a6a7c8aafa437cc02
Transpilation MD5: dc32ccef67a6af9ca901abe1f8a31a14
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-14 23:10:13
Source code size: 473 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 560 / 613
Version history: 8 change(s)
Referenced in: [show references]