I am looking for a way, to create dynamic Images for example with text (int or String) and with a generic background. I found a few tutorials on how to do this in swing/awt but I haven´t found a valid solution for JavaFX so far.
The idea is to generate Cards(decks) for any board game, without having to create many different images, with only slight changes in Number / Name.
For example many of the cards of the card game UNO have the same background just varying number and color. If I now want to use a plain card template without any number, I just want to add dynamically in my javafx application to every object only a specific number, so that I can create a whole card-deck very simple.
The Cards don´t have to look perfect, I just don´t want to create for a game hundreds of different pictures.