Reputation: 43
I'm currently using javafx.scene.text.Text to add a stroke and change the text color but I need to place my text over an image in a specified X,Y position. Is there any way to do this with the javafx text I'm currently using? Or what else can I use to replicate what I do?
Upvotes: 4
Views: 2743
Reputation: 3165
Place your ImageView in a Stackpane, and on top of the view a Group containing your Text with the according X/Y coordinates set.
Upvotes: 2