my dog learned polymorphism*
The moose likes JavaFX and the fly likes circle positioning of labels Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "circle positioning of labels" Watch "circle positioning of labels" New topic
Author

circle positioning of labels

sepp mayer
Greenhorn

Joined: Dec 03, 2012
Posts: 1
Hi all,

I want to position my labels along circle. I hope that the attached picture helps to understand my task.



I calculated the points of a circle and positioned the labels with these points. The problem is that none of the control classes implement something like an anchor and use as default the left upper corner. When the text of the label is longer "labelareas"overlap in the inner circle and if shorter the label is not really close to the circle.

How can I achieve a positioning like in the picture?
 
 
subject: circle positioning of labels
 
Similar Threads
Label use
continue?
definitions
Partially transparent backgrounds ?
drawing circle with label inside