Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
JavaRanch » Java Forums » Java » JavaFX
Bookmark "circle positioning of labels" Watch "circle positioning of labels" New topic

circle positioning of labels

sepp mayer

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?
I agree. Here's the link:
subject: circle positioning of labels
It's not a secret anymore!