Text is a part of the JavaFX library. It is a child class of Shape class so it has all the properties of a shape class like set fill, set stroke, set stroke-width set X, set Y, etc and it is an indirect child of the node so we can treat it as a node.
You can apply CSS also. In this video, I am taking you from some basics of text class to applying some amazing effects on it. so watch and enjoy.
How much this video is helpful to you? let me know in the comments section.
You can also check:
My Mic : https://amzn.to/3ntxhpl
My Laptop : https://amzn.to/3x1Pi0Z
My Mouse : https://amzn.to/3cr90tw
My Keyboard : https://amzn.to/3HDAo5U
My Smartphone : https://amzn.to/3Cw8BRl