|Connection Decorator with Text [message #1007999]
||Fri, 08 February 2013 14:42
| Jon Kurisu
Registered: July 2009
I am trying to create a Connection Decorator, a circle with some text inside the circle, along a Connection. I am able to display the circle, but for some unknown reason the text inside the circle is not being displayed.|
Here is the code that I am trying to use.
ConnectionDecorator cd = peCreateService.createConnectionDecorator(connection, false, 0.7, true);
Ellipse ellipse = gaService.createEllipse(cd);
gaService.setSize(ellipse, 15, 15);
Text text = gaService.createPlainText(ellipse, "AA");
gaService.setLocation(text, 0, 0);
I am wondering what I am doing wrong? or if it is possible to have text inside a Connection Decoration?
Powered by FUDForum
. Page generated in 0.01973 seconds