JavaFX CSS how do I blend Text color to appear as white when a progress bar overlaps it?

97 Views Asked by At

I have this image of a progress bar:

Progress-Bar

I am trying to make the text change color as the bar overlaps it. I have no idea how to do this in JavaFX since it is not as flexible as the known CSS. I tried to use different blend modes provided but no use I couldn't manage to get the white color I wanted. Basically, there is no code to show since I don't know where to start. Is there any workaround?

0

There are 0 best solutions below