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

16
LINES

< > TinyBrain | #1007312 - Draggable Circles With More Text

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

Uses 1937K of libraries. Click here for Pure Java version (4631L/32K/120K).

!7

!include #1007303 // CirclesAndLines

p-pretty {
  final new CirclesAndLines cal;
  Circle a = cal.addCircle(#1007291, 1/3.0, 0.25, "DONALD");
  Circle b = cal.addCircle(#1007292, 2/3.0, 0.25, "BOMBS");
  Circle c = cal.addCircle(#1007314, 1/3.0, 0.75, "GOOD");
  Circle d = cal.addCircle(#1007319, 2/3.0, 0.75, "BAD");
  cal.addArrow(a, b, "MAKES");
  cal.addArrow(b, d, "ARE");
  cal.addArrow(a, d, "IS").setColor(Color.lightGray);
  cal.showAsFrame();
}

Author comment

Began life as a copy of #1007310

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1007312
Snippet name: Draggable Circles With More Text
Eternal ID of this version: #1007312/10
Text MD5: 7c7aca413d207bf685e3f8d91449c21f
Transpilation MD5: 2441f17666b13522f6542c3afd09d4f0
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-16 11:46:00
Source code size: 476 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 50 / 115
Version history: 9 change(s)
Referenced in: [show]